diff options
author | xue <> | 2005-12-25 23:09:01 +0000 |
---|---|---|
committer | xue <> | 2005-12-25 23:09:01 +0000 |
commit | aef9116ba5329eeb24a375b7b914fac84652d29d (patch) | |
tree | 980bbc5639056afcb625dc4b9761735ac1784480 /framework | |
parent | cc44b9c507c6390c31a2f49f0a1f228a08c62b2e (diff) |
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/Services/TPageService.php | 5 |
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);
}
}
|