diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
commit | 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch) | |
tree | e870d29e21c14d5b1683d638dff978afe0a104fa /framework/Web/Services/TPageService.php | |
parent | 53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff) |
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 87640e5a..be865d89 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -10,13 +10,14 @@ */ namespace Prado\Web\Services; - -/** - * Include classes to be used by page service - */ -Prado::using('System.Web.UI.TPage'); -Prado::using('System.Web.UI.TTemplateManager'); -Prado::using('System.Web.UI.TThemeManager'); +use Prado\Prado; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\THttpException; +use Prado\Exceptions\TInvalidOperationException; +use Prado\TApplication; +use Prado\TApplicationMode; +use Prado\Web\UI\TTemplateManager; +use Prado\Web\UI\TThemeManager; /** * TPageService class. @@ -74,7 +75,7 @@ Prado::using('System.Web.UI.TThemeManager'); * @package Prado\Web\Services * @since 3.0 */ -class TPageService extends TService +class TPageService extends \Prado\TService { /** * Configuration file name @@ -112,7 +113,7 @@ class TPageService extends TService * @var string clientscript manager class in namespace format * @since 3.1.7 */ - private $_clientScriptManagerClass='System.Web.UI.TClientScriptManager'; + private $_clientScriptManagerClass='\Prado\Web\UI\TClientScriptManager'; /** * @var string default page */ @@ -149,7 +150,7 @@ class TPageService extends TService */ public function init($config) { - Prado::trace("Initializing TPageService",'System.Web.Services.TPageService'); + Prado::trace("Initializing TPageService",'\Prado\Web\Services\TPageService'); $pageConfig=$this->loadPageConfig($config); |