From 97395e66b2d930a21ea18498889ddd72e6d77ef2 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Wed, 16 Jan 2013 08:57:12 +0000 Subject: Added a new UrlFormat for TUrlManager: HiddenPath; works like the 'Path' format, but hides the entryscript.php name --- framework/Web/THttpRequest.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/Web/THttpRequest.php') 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 * @version $Id$ @@ -1330,5 +1331,6 @@ class THttpRequestUrlFormat extends TEnumerable { const Get='Get'; const Path='Path'; + const HiddenPath='HiddenPath'; } -- cgit v1.2.3