From e4999b25052d1ad9400a0f9fd5289a49eea1bddc Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 25 Jan 2015 20:04:57 +0100 Subject: More namespace changes Changed version to 3.2.99; Attempt at fixing autoloading fixed enough namespaces to have some demos running --- framework/Web/UI/WebControls/TBoundColumn.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'framework/Web/UI/WebControls/TBoundColumn.php') diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index f5589469..36b9a143 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.php @@ -10,11 +10,7 @@ */ namespace Prado\Web\UI\WebControls; - -/** - * TDataGridColumn class file - */ -Prado::using('System.Web.UI.WebControls.TDataGridColumn'); +use Prado\TPropertyValue; /** * TBoundColumn class @@ -62,7 +58,7 @@ class TBoundColumn 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 Data property + * If the class implements {@link \Prado\IDataRenderer}, the Data property * will be set as the data associated with the datagrid cell during databinding. * The data can be either the whole data row or a field of the row if * {@link getDataField DataField} is not empty. If {@link getDataFormatString DataFormatString} @@ -90,7 +86,7 @@ class TBoundColumn 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 Data property + * If the class implements {@link \Prado\IDataRenderer}, the Data property * will be set as the data associated with the datagrid cell during databinding. * The data can be either the whole data row or a field of the row if * {@link getDataField DataField} is not empty. If {@link getDataFormatString DataFormatString} @@ -201,7 +197,7 @@ class TBoundColumn extends TDataGridColumn } else { - $control=Prado::createComponent('System.Web.UI.WebControls.TTextBox'); + $control=Prado::createComponent('\\Prado\\Web\\UI\\WebControls\\TTextBox'); $cell->getControls()->add($control); $cell->registerObject('TextBox',$control); } -- cgit v1.2.3