diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-25 20:04:57 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-25 20:04:57 +0100 |
commit | e4999b25052d1ad9400a0f9fd5289a49eea1bddc (patch) | |
tree | 50e9b819fc3326cf08e882b648f8dafc8fec3fa4 /framework/Web/UI/WebControls/TEditCommandColumn.php | |
parent | 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (diff) |
More namespace changes
Changed version to 3.2.99;
Attempt at fixing autoloading
fixed enough namespaces to have some demos running
Diffstat (limited to 'framework/Web/UI/WebControls/TEditCommandColumn.php')
-rw-r--r-- | framework/Web/UI/WebControls/TEditCommandColumn.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index bea88144..07eec55b 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.php @@ -10,11 +10,7 @@ */ namespace Prado\Web\UI\WebControls; - -/** - * TDataGridColumn class file - */ -Prado::using('System.Web.UI.WebControls.TDataGridColumn'); +use Prado\TPropertyValue; /** * TEditCommandColumn class @@ -241,12 +237,12 @@ class TEditCommandColumn extends TDataGridColumn protected function createButton($commandName,$text,$causesValidation,$validationGroup) { if($this->getButtonType()===TButtonColumnType::LinkButton) - $button=Prado::createComponent('System.Web.UI.WebControls.TLinkButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TLinkButton'); else if($this->getButtonType()===TButtonColumnType::PushButton) - $button=Prado::createComponent('System.Web.UI.WebControls.TButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TButton'); else // image buttons { - $button=Prado::createComponent('System.Web.UI.WebControls.TImageButton'); + $button=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TImageButton'); if(strcasecmp($commandName,'Update')===0) $url=$this->getUpdateImageUrl(); else if(strcasecmp($commandName,'Cancel')===0) |