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/UI/TClientSideOptions.php | |
parent | 53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff) |
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Web/UI/TClientSideOptions.php')
-rw-r--r-- | framework/Web/UI/TClientSideOptions.php | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |