diff options
author | xue <> | 2006-02-17 05:19:25 +0000 |
---|---|---|
committer | xue <> | 2006-02-17 05:19:25 +0000 |
commit | 7b38480de52c1d042ea542e2d06913a8c9b645fc (patch) | |
tree | 67ff025fb171a5325ac8fdc75a281ce8a19a2bd5 /framework/Web/Services/TPageService.php | |
parent | ae1c1995b2fec431afe7cca23b2697e1bef17baf (diff) |
Add TApplicationComponent class and adjusted the relevant classes.
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 013bb35f..bb80b902 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -202,7 +202,7 @@ class TPageService extends TService */
protected function determineRequestedPagePath()
{
- $pagePath=$this->getApplication()->getRequest()->getServiceParameter();
+ $pagePath=$this->getRequest()->getServiceParameter();
if(empty($pagePath))
$pagePath=$this->getDefaultPage();
return $pagePath;
@@ -441,7 +441,7 @@ class TPageService extends TService else
throw new THttpException(404,'pageservice_page_unknown',$this->getRequestedPagePath());
- $this->_page->run($this->getApplication()->getResponse()->createHtmlWriter());
+ $this->_page->run($this->getResponse()->createHtmlWriter());
}
/**
@@ -453,7 +453,7 @@ class TPageService extends TService */
public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=false)
{
- return $this->getApplication()->getRequest()->constructUrl($this->_id,$pagePath,$getParams,$encodeAmpersand);
+ return $this->getRequest()->constructUrl($this->_id,$pagePath,$getParams,$encodeAmpersand);
}
}
|