summaryrefslogtreecommitdiff
path: root/framework/Web/Services
diff options
context:
space:
mode:
authorxue <>2005-12-25 23:09:01 +0000
committerxue <>2005-12-25 23:09:01 +0000
commitaef9116ba5329eeb24a375b7b914fac84652d29d (patch)
tree980bbc5639056afcb625dc4b9761735ac1784480 /framework/Web/Services
parentcc44b9c507c6390c31a2f49f0a1f228a08c62b2e (diff)
Diffstat (limited to 'framework/Web/Services')
-rw-r--r--framework/Web/Services/TPageService.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index 6834e269..886fec24 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -458,11 +458,12 @@ class TPageService extends TService
* Constructs a URL with specified page path and GET parameters.
* @param string page path
* @param array list of GET parameters, null if no GET parameters required
+ * @param boolean whether to encode the ampersand in URL, defaults to false.
* @return string URL for the page and GET parameters
*/
- public function constructUrl($pagePath,$getParams=null)
+ public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=false)
{
- return $this->_application->getRequest()->constructUrl($this->_id,$pagePath,$getParams);
+ return $this->_application->getRequest()->constructUrl($this->_id,$pagePath,$getParams,$encodeAmpersand);
}
}