summaryrefslogtreecommitdiff
path: root/framework/Web/THttpRequest.php
diff options
context:
space:
mode:
authorctrlaltca <>2013-01-16 08:57:12 +0000
committerctrlaltca <>2013-01-16 08:57:12 +0000
commit97395e66b2d930a21ea18498889ddd72e6d77ef2 (patch)
treeb1032feaa7b2901db8742fd641bc349e2979fdf0 /framework/Web/THttpRequest.php
parent33c1798a05c95d98d36842ab0a26b32f642788f5 (diff)
Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name
Diffstat (limited to 'framework/Web/THttpRequest.php')
-rw-r--r--framework/Web/THttpRequest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php
index 13a8be56..8e58d304 100644
--- a/framework/Web/THttpRequest.php
+++ b/framework/Web/THttpRequest.php
@@ -1320,6 +1320,7 @@ class TUri extends TComponent
* 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>
* @version $Id$
@@ -1330,5 +1331,6 @@ class THttpRequestUrlFormat extends TEnumerable
{
const Get='Get';
const Path='Path';
+ const HiddenPath='HiddenPath';
}