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/TTemplateColumn.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/TTemplateColumn.php')
-rw-r--r-- | framework/Web/UI/WebControls/TTemplateColumn.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php index ee000a04..b0b7167a 100644 --- a/framework/Web/UI/WebControls/TTemplateColumn.php +++ b/framework/Web/UI/WebControls/TTemplateColumn.php @@ -10,11 +10,7 @@ */ namespace Prado\Web\UI\WebControls; - -/** - * TDataGridColumn class file - */ -Prado::using('System.Web.UI.WebControls.TDataGridColumn'); +use Prado\Exceptions\TInvalidDataTypeException; /** * TTemplateColumn class @@ -63,7 +59,7 @@ class TTemplateColumn extends TDataGridColumn * * If not empty, the class will be used to instantiate as a child control in the item cells of the column. * - * If the class implements {@link IDataRenderer}, the <b>Data</b> property + * If the class implements {@link \Prado\IDataRenderer}, the <b>Data</b> property * will be set as the row of the data associated with the datagrid item that this cell resides in. * * @param string the renderer class name in namespace format. @@ -88,7 +84,7 @@ class TTemplateColumn extends TDataGridColumn * * If not empty, the class will be used to instantiate as a child control in the item cell that is in edit mode. * - * If the class implements {@link IDataRenderer}, the <b>Data</b> property + * If the class implements {@link \Prado\IDataRenderer}, the <b>Data</b> property * will be set as the row of the data associated with the datagrid item that this cell resides in. * * @param string the renderer class name in namespace format. @@ -214,7 +210,7 @@ class TTemplateColumn extends TDataGridColumn $control->setItemIndex($cell->getParent()->getItemIndex()); $control->setItemType($itemType); } - if($control instanceof IDataRenderer) + if($control instanceof \Prado\IDataRenderer) $control->attachEventHandler('OnDataBinding',array($this,'dataBindColumn')); } else if($template!==null) |