From 92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 Mon Sep 17 00:00:00 2001 From: David Date: Sat, 8 Aug 2015 22:48:07 +0200 Subject: Removed redundand Prado::using statements --- framework/Web/UI/ActiveControls/TActiveButton.php | 1 - framework/Web/UI/ActiveControls/TActiveCheckBox.php | 1 - framework/Web/UI/ActiveControls/TActiveCheckBoxList.php | 1 - framework/Web/UI/ActiveControls/TActiveControlAdapter.php | 1 - framework/Web/UI/ActiveControls/TActiveCustomValidator.php | 1 - framework/Web/UI/ActiveControls/TActiveDataGrid.php | 13 ------------- framework/Web/UI/ActiveControls/TActiveDatePicker.php | 1 - framework/Web/UI/ActiveControls/TActiveDropDownList.php | 1 - framework/Web/UI/ActiveControls/TActiveFileUpload.php | 2 -- framework/Web/UI/ActiveControls/TActiveHiddenField.php | 1 - framework/Web/UI/ActiveControls/TActiveLabel.php | 1 - framework/Web/UI/ActiveControls/TActiveLinkButton.php | 1 - framework/Web/UI/ActiveControls/TActiveListBox.php | 1 - .../Web/UI/ActiveControls/TActiveListControlAdapter.php | 2 -- framework/Web/UI/ActiveControls/TActiveMultiView.php | 1 - framework/Web/UI/ActiveControls/TActivePageAdapter.php | 3 --- framework/Web/UI/ActiveControls/TActivePager.php | 1 - framework/Web/UI/ActiveControls/TActivePanel.php | 1 - framework/Web/UI/ActiveControls/TActiveRadioButtonList.php | 2 -- framework/Web/UI/ActiveControls/TActiveTableCell.php | 3 --- framework/Web/UI/ActiveControls/TActiveTableRow.php | 3 --- framework/Web/UI/ActiveControls/TActiveTextBox.php | 1 - framework/Web/UI/ActiveControls/TAutoComplete.php | 2 -- framework/Web/UI/ActiveControls/TBaseActiveControl.php | 1 - framework/Web/UI/ActiveControls/TCallback.php | 1 - framework/Web/UI/ActiveControls/TDropContainer.php | 2 -- framework/Web/UI/ActiveControls/TEventTriggeredCallback.php | 1 - framework/Web/UI/ActiveControls/TInPlaceTextBox.php | 1 - framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php | 1 - framework/Web/UI/ActiveControls/TTriggeredCallback.php | 1 - framework/Web/UI/ActiveControls/TValueTriggeredCallback.php | 1 - 31 files changed, 54 deletions(-) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TActiveButton.php b/framework/Web/UI/ActiveControls/TActiveButton.php index 7b3f48ec..b91161fe 100644 --- a/framework/Web/UI/ActiveControls/TActiveButton.php +++ b/framework/Web/UI/ActiveControls/TActiveButton.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TButton; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveButton is the active control counter part to TButton. diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBox.php b/framework/Web/UI/ActiveControls/TActiveCheckBox.php index 80719ec9..a664da69 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBox.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBox.php @@ -18,7 +18,6 @@ use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\UI\WebControls\TCheckBox; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveCheckBox class. diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php index f490f737..f3e1c82e 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TCheckBoxList; -Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); /** * TActiveCheckBoxList class. diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php index ea2fc52e..35cef212 100644 --- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php +++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\TControlAdapter; -Prado::using('System.Web.UI.ActiveControls.TBaseActiveControl'); /** * TActiveControlAdapter class. diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php index acddd275..89cb5e24 100644 --- a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php +++ b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php @@ -16,7 +16,6 @@ use Prado\Prado; use Prado\Web\UI\WebControls\TBaseValidator; use Prado\Web\UI\WebControls\TCustomValidator; -Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide'); /** * TActiveCustomValidator Class diff --git a/framework/Web/UI/ActiveControls/TActiveDataGrid.php b/framework/Web/UI/ActiveControls/TActiveDataGrid.php index 574afed8..ac378efa 100644 --- a/framework/Web/UI/ActiveControls/TActiveDataGrid.php +++ b/framework/Web/UI/ActiveControls/TActiveDataGrid.php @@ -20,19 +20,6 @@ use Prado\Web\UI\WebControls\TDataGrid; use Prado\Web\UI\WebControls\TDataGridPagerButtonType; use Prado\Web\UI\WebControls\TLabel; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); -Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); -Prado::using('System.Web.UI.ActiveControls.TActiveImageButton'); -Prado::using('System.Web.UI.ActiveControls.TActiveButton'); -Prado::using('System.Web.UI.ActiveControls.TActiveImage'); -Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox'); -Prado::using('System.Web.UI.ActiveControls.TCallbackOptions'); -Prado::using('System.Web.UI.WebControls.TDataGrid'); -Prado::using('System.Web.UI.WebControls.TBoundColumn'); -Prado::using('System.Web.UI.WebControls.TEditCommandColumn'); -Prado::using('System.Web.UI.WebControls.TButtonColumn'); -Prado::using('System.Web.UI.WebControls.THyperLinkColumn'); -Prado::using('System.Web.UI.WebControls.TCheckBoxColumn'); /** * TActiveDataGrid class diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php index 18169f57..d648e2b5 100755 --- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php +++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php @@ -22,7 +22,6 @@ use Prado\Web\UI\TControl; use Prado\Web\UI\WebControls\TDatePicker; use Prado\Web\UI\WebControls\TDatePickerInputMode; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveDatePicker class diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownList.php b/framework/Web/UI/ActiveControls/TActiveDropDownList.php index 083b8290..f6010fbd 100644 --- a/framework/Web/UI/ActiveControls/TActiveDropDownList.php +++ b/framework/Web/UI/ActiveControls/TActiveDropDownList.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TDropDownList; -Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); /** * TActiveDropDownList class. diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index 21bddf85..00babef0 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -20,8 +20,6 @@ use Prado\TPropertyValue; use Prado\Web\UI\INamingContainer; use Prado\Web\UI\WebControls\TFileUpload; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); -Prado::using('System.Web.UI.WebControls.TFileUpload'); /** * TActiveFileUpload diff --git a/framework/Web/UI/ActiveControls/TActiveHiddenField.php b/framework/Web/UI/ActiveControls/TActiveHiddenField.php index 6bed13ce..b6324075 100644 --- a/framework/Web/UI/ActiveControls/TActiveHiddenField.php +++ b/framework/Web/UI/ActiveControls/TActiveHiddenField.php @@ -14,7 +14,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\THiddenField; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveHiddenField class diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php index ecfd9e9f..35690e49 100644 --- a/framework/Web/UI/ActiveControls/TActiveLabel.php +++ b/framework/Web/UI/ActiveControls/TActiveLabel.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TLabel; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveLabel class diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php index c8e0c889..592f0176 100644 --- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php +++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TLinkButton; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveLinkButton is the active control counter part to TLinkButton. diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php index 3b407d35..33a08cb7 100644 --- a/framework/Web/UI/ActiveControls/TActiveListBox.php +++ b/framework/Web/UI/ActiveControls/TActiveListBox.php @@ -18,7 +18,6 @@ use Prado\Web\UI\WebControls\TListBox; /** * Load active list control adapter */ -Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); /** * TActiveListBox class. diff --git a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php index 4c6d9ff7..a0d5425e 100644 --- a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php +++ b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php @@ -17,8 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\IListControlAdapter; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); -Prado::using('System.Web.UI.WebControls.TListControl'); /** * TActiveListControlAdapter class. diff --git a/framework/Web/UI/ActiveControls/TActiveMultiView.php b/framework/Web/UI/ActiveControls/TActiveMultiView.php index 8553b449..3442f0d6 100644 --- a/framework/Web/UI/ActiveControls/TActiveMultiView.php +++ b/framework/Web/UI/ActiveControls/TActiveMultiView.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TMultiView; -Prado::using('System.Web.UI.WebControls.TMultiView'); /** * TActiveMultiView class. diff --git a/framework/Web/UI/ActiveControls/TActivePageAdapter.php b/framework/Web/UI/ActiveControls/TActivePageAdapter.php index c579858b..90c86912 100644 --- a/framework/Web/UI/ActiveControls/TActivePageAdapter.php +++ b/framework/Web/UI/ActiveControls/TActivePageAdapter.php @@ -21,9 +21,6 @@ use Prado\Web\UI\TControl; use Prado\Web\UI\TControlAdapter; use Prado\Web\UI\TPage; -Prado::using('System.Web.UI.ActiveControls.TCallbackResponseAdapter'); -Prado::using('System.Web.UI.ActiveControls.TCallbackClientScript'); -Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); /** * TActivePageAdapter class. diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php index 7a15ad42..ac05aed0 100644 --- a/framework/Web/UI/ActiveControls/TActivePager.php +++ b/framework/Web/UI/ActiveControls/TActivePager.php @@ -22,7 +22,6 @@ use Prado\Web\UI\WebControls\TPagerButtonType; use Prado\Web\UI\WebControls\TPagerMode; use Prado\Web\UI\WebControls\TWebControl; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActivePager is the active control counter part of TPager. diff --git a/framework/Web/UI/ActiveControls/TActivePanel.php b/framework/Web/UI/ActiveControls/TActivePanel.php index c715e0b6..31295030 100644 --- a/framework/Web/UI/ActiveControls/TActivePanel.php +++ b/framework/Web/UI/ActiveControls/TActivePanel.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TPanel; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActivePanel is the TPanel active control counterpart. diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php index 4a3d6b1f..185632f7 100644 --- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php +++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php @@ -17,8 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TRadioButtonList; -Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); -Prado::using('System.Web.UI.ActiveControls.TActiveRadioButton'); /** * TActiveRadioButtonList class. diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php index c0701a79..511bd77d 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableCell.php +++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php @@ -19,9 +19,6 @@ use Prado\Prado; use Prado\Web\UI\WebControls\TTableCell; use Prado\Web\UI\WebControls\TTableRow; -Prado::using('System.Web.UI.WebControls.TTableRow'); -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); -Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); /** * TActiveTableCell class. diff --git a/framework/Web/UI/ActiveControls/TActiveTableRow.php b/framework/Web/UI/ActiveControls/TActiveTableRow.php index 2547d48a..b3684f83 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableRow.php +++ b/framework/Web/UI/ActiveControls/TActiveTableRow.php @@ -19,9 +19,6 @@ use Prado\Prado; use Prado\Web\UI\WebControls\TTable; use Prado\Web\UI\WebControls\TTableRow; -Prado::using('System.Web.UI.WebControls.TTableRow'); -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); -Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); /** * TActiveTableRow class. diff --git a/framework/Web/UI/ActiveControls/TActiveTextBox.php b/framework/Web/UI/ActiveControls/TActiveTextBox.php index 15266529..8ceca897 100644 --- a/framework/Web/UI/ActiveControls/TActiveTextBox.php +++ b/framework/Web/UI/ActiveControls/TActiveTextBox.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\WebControls\TTextBox; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TActiveTextBox class. diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index ab120ebe..9c8b36bf 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -19,8 +19,6 @@ use Prado\TPropertyValue; use Prado\Web\UI\INamingContainer; use Prado\Web\UI\TTemplate; -Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); -Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter'); /** * TAutoComplete class. diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index 3bcf0d95..46711f0e 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -16,7 +16,6 @@ use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\UI\TControl; -Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide'); /** * TBaseActiveControl class provided additional basic property for every diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php index c5e4db53..82c1e4a5 100644 --- a/framework/Web/UI/ActiveControls/TCallback.php +++ b/framework/Web/UI/ActiveControls/TCallback.php @@ -17,7 +17,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\Web\UI\TControl; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * TCallback component class. diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php index 161bfb8b..ef292ff7 100755 --- a/framework/Web/UI/ActiveControls/TDropContainer.php +++ b/framework/Web/UI/ActiveControls/TDropContainer.php @@ -18,11 +18,9 @@ use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\UI\WebControls\TPanel; -Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * Load active panel. */ -Prado::using('System.Web.UI.ActiveControls.TActivePanel'); /** diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php index c4271c25..74fface8 100644 --- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php @@ -14,7 +14,6 @@ namespace Prado\Web\UI\ActiveControls; use Prado\Prado; use Prado\TPropertyValue; -Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback'); /** * TEventTriggeredCallback Class diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php index 83c7e825..c45470ef 100644 --- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php +++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php @@ -16,7 +16,6 @@ use Prado\TPropertyValue; use Prado\Web\UI\WebControls\TTextBox; use Prado\Web\UI\WebControls\TWebControl; -Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); /** * TInPlaceTextBox Class diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php index 95696c86..1535faa9 100644 --- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php @@ -18,7 +18,6 @@ use Prado\Exceptions\TConfigurationException; use Prado\Prado; use Prado\TPropertyValue; -Prado::using('System.Web.UI.ActiveControls.TCallback'); /** * TTimeTriggeredCallback class. diff --git a/framework/Web/UI/ActiveControls/TTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTriggeredCallback.php index 21c86e55..630e307b 100644 --- a/framework/Web/UI/ActiveControls/TTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTriggeredCallback.php @@ -15,7 +15,6 @@ use Prado\Exceptions\TConfigurationException; use Prado\Prado; use Prado\Web\UI\TControl; -Prado::using('System.Web.UI.ActiveControls.TCallback'); /** * TTriggeredCallback abstract Class * diff --git a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php index 04c499a4..e3689cf0 100644 --- a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php @@ -15,7 +15,6 @@ use Prado\Exceptions\TConfigurationException; use Prado\Prado; use Prado\TPropertyValue; -Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback'); /** * TValueTriggeredCallback Class -- cgit v1.2.3