diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 22:16:10 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-20 22:16:10 +0100 |
commit | ef4d964de440970b76ab48fcbd6748f43675efa3 (patch) | |
tree | a6a6ffa6d53ffaa12c2d5bd6f036e4c013481f26 /framework/Web/THttpRequestUrlFormat.php | |
parent | 7254793d2bbe3f2f3d87d97172c54a54deea0a3a (diff) |
one class per file: framework/Web/*.php
Diffstat (limited to 'framework/Web/THttpRequestUrlFormat.php')
-rw-r--r-- | framework/Web/THttpRequestUrlFormat.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/framework/Web/THttpRequestUrlFormat.php b/framework/Web/THttpRequestUrlFormat.php new file mode 100644 index 00000000..80144c04 --- /dev/null +++ b/framework/Web/THttpRequestUrlFormat.php @@ -0,0 +1,31 @@ +<?php +/** + * THttpRequest, THttpCookie, THttpCookieCollection, TUri class file + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System.Web + */ + +/** + * THttpRequestUrlFormat class. + * THttpRequestUrlFormat defines the enumerable type for the possible URL formats + * that can be recognized by {@link THttpRequest}. + * + * The following enumerable values are defined: + * - Get: the URL format is like /path/to/index.php?name1=value1&name2=value2... + * - Path: the URL format is like /path/to/index.php/name1,value1/name2,value2... + * - HiddenPath: the URL format is like /path/to/name1,value1/name2,value2... + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @package System.Web + * @since 3.0.4 + */ +class THttpRequestUrlFormat extends TEnumerable +{ + const Get='Get'; + const Path='Path'; + const HiddenPath='HiddenPath'; +}
\ No newline at end of file |