From aef9116ba5329eeb24a375b7b914fac84652d29d Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 25 Dec 2005 23:09:01 +0000 Subject: --- framework/Web/Services/TPageService.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'framework/Web/Services') 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); } } -- cgit v1.2.3