From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/Web/UI/TClientSideOptions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/TClientSideOptions.php') diff --git a/framework/Web/UI/TClientSideOptions.php b/framework/Web/UI/TClientSideOptions.php index 438ff87f..88d5751e 100644 --- a/framework/Web/UI/TClientSideOptions.php +++ b/framework/Web/UI/TClientSideOptions.php @@ -11,6 +11,8 @@ */ namespace Prado\Web\UI; +use Prado\Collections\TMap; +use Prado\Web\Javascripts\TJavaScript; /** * TClientSideOptions abstract class. @@ -23,7 +25,7 @@ namespace Prado\Web\UI; * @package Prado\Web\UI * @since 3.0 */ -abstract class TClientSideOptions extends TComponent +abstract class TClientSideOptions extends \Prado\TComponent { /** * @var TMap list of client-side options. @@ -71,7 +73,7 @@ abstract class TClientSideOptions extends TComponent public function getOptions() { if (!$this->_options) - $this->_options = Prado::createComponent('System.Collections.TMap'); + $this->_options = new TMap; return $this->_options; } -- cgit v1.2.3