From b46b4e7acb00715982a8d3543fb22f5ac64c88fe Mon Sep 17 00:00:00 2001 From: David Date: Sat, 11 Jul 2015 12:31:44 +0200 Subject: Added missing use statements in framework --- framework/Web/UI/ActiveControls/TActiveBoundColumn.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveButton.php | 3 +++ framework/Web/UI/ActiveControls/TActiveButtonColumn.php | 3 +++ framework/Web/UI/ActiveControls/TActiveCheckBox.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php | 5 +++++ framework/Web/UI/ActiveControls/TActiveCheckBoxList.php | 3 +++ framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php | 2 ++ framework/Web/UI/ActiveControls/TActiveClientScript.php | 1 + framework/Web/UI/ActiveControls/TActiveControlAdapter.php | 3 +++ framework/Web/UI/ActiveControls/TActiveCustomValidator.php | 5 +++++ .../Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php | 1 + framework/Web/UI/ActiveControls/TActiveDataGrid.php | 6 ++++++ framework/Web/UI/ActiveControls/TActiveDataGridPager.php | 1 + .../Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php | 1 + framework/Web/UI/ActiveControls/TActiveDataList.php | 1 + framework/Web/UI/ActiveControls/TActiveDatePicker.php | 7 +++++++ framework/Web/UI/ActiveControls/TActiveDropDownList.php | 3 +++ framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php | 3 +++ framework/Web/UI/ActiveControls/TActiveFileUpload.php | 7 +++++++ framework/Web/UI/ActiveControls/TActiveHiddenField.php | 3 +++ framework/Web/UI/ActiveControls/TActiveHyperLink.php | 3 +++ framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveImage.php | 1 + framework/Web/UI/ActiveControls/TActiveImageButton.php | 1 + framework/Web/UI/ActiveControls/TActiveLabel.php | 3 +++ framework/Web/UI/ActiveControls/TActiveLinkButton.php | 3 +++ framework/Web/UI/ActiveControls/TActiveListBox.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveListControlAdapter.php | 3 +++ framework/Web/UI/ActiveControls/TActiveListItemCollection.php | 1 + framework/Web/UI/ActiveControls/TActiveLiteralColumn.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveMultiView.php | 3 +++ framework/Web/UI/ActiveControls/TActivePageAdapter.php | 6 ++++++ framework/Web/UI/ActiveControls/TActivePager.php | 8 ++++++++ framework/Web/UI/ActiveControls/TActivePanel.php | 3 +++ framework/Web/UI/ActiveControls/TActiveRadioButton.php | 2 ++ framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php | 2 ++ framework/Web/UI/ActiveControls/TActiveRadioButtonList.php | 3 +++ framework/Web/UI/ActiveControls/TActiveRatingList.php | 1 + framework/Web/UI/ActiveControls/TActiveRepeater.php | 2 ++ framework/Web/UI/ActiveControls/TActiveTableCell.php | 5 +++++ framework/Web/UI/ActiveControls/TActiveTableRow.php | 5 +++++ framework/Web/UI/ActiveControls/TActiveTemplateColumn.php | 4 ++++ framework/Web/UI/ActiveControls/TActiveTextBox.php | 3 +++ framework/Web/UI/ActiveControls/TAutoComplete.php | 5 +++++ framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php | 1 + framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php | 3 +++ framework/Web/UI/ActiveControls/TBaseActiveControl.php | 5 +++++ framework/Web/UI/ActiveControls/TCallback.php | 3 +++ framework/Web/UI/ActiveControls/TCallbackClientScript.php | 8 ++++++++ framework/Web/UI/ActiveControls/TCallbackClientSide.php | 3 +++ framework/Web/UI/ActiveControls/TCallbackErrorHandler.php | 6 ++++++ framework/Web/UI/ActiveControls/TCallbackEventParameter.php | 1 + framework/Web/UI/ActiveControls/TCallbackOptions.php | 2 ++ framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php | 2 ++ framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php | 1 + framework/Web/UI/ActiveControls/TCallbackResponseWriter.php | 1 + framework/Web/UI/ActiveControls/TDraggable.php | 3 +++ framework/Web/UI/ActiveControls/TDropContainer.php | 4 ++++ framework/Web/UI/ActiveControls/TDropContainerEventParameter.php | 4 ++++ framework/Web/UI/ActiveControls/TEventTriggeredCallback.php | 3 +++ framework/Web/UI/ActiveControls/TInPlaceTextBox.php | 5 +++++ framework/Web/UI/ActiveControls/TInvalidCallbackException.php | 1 + framework/Web/UI/ActiveControls/TStyleDiff.php | 1 + framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php | 4 ++++ framework/Web/UI/ActiveControls/TTriggeredCallback.php | 4 ++++ framework/Web/UI/ActiveControls/TValueTriggeredCallback.php | 4 ++++ 67 files changed, 218 insertions(+) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TActiveBoundColumn.php b/framework/Web/UI/ActiveControls/TActiveBoundColumn.php index 38b6fdbf..e4aaa4ed 100644 --- a/framework/Web/UI/ActiveControls/TActiveBoundColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveBoundColumn.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TBoundColumn; +use Prado\Web\UI\WebControls\TDataGrid; /** * TActiveBoundColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveButton.php b/framework/Web/UI/ActiveControls/TActiveButton.php index 66d7b022..7b3f48ec 100644 --- a/framework/Web/UI/ActiveControls/TActiveButton.php +++ b/framework/Web/UI/ActiveControls/TActiveButton.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TButton; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveButtonColumn.php b/framework/Web/UI/ActiveControls/TActiveButtonColumn.php index cee7c86e..32a2ca78 100644 --- a/framework/Web/UI/ActiveControls/TActiveButtonColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveButtonColumn.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TButtonColumn; +use Prado\Web\UI\WebControls\TButtonColumnType; +use Prado\Web\UI\WebControls\TListItemType; /** * TActiveButtonColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBox.php b/framework/Web/UI/ActiveControls/TActiveCheckBox.php index accfc5a1..80719ec9 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBox.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBox.php @@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\UI\WebControls\TCheckBox; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php index 2fa4f4be..1ff5d1f8 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxColumn.php @@ -10,6 +10,11 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TCheckBoxColumn; +use Prado\Web\UI\WebControls\TDataGrid; +use Prado\Web\UI\WebControls\TListItemType; /** * TActiveCheckBoxColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php index 8d2c71ae..f490f737 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TCheckBoxList; + Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php index cfe25c69..5f6245e9 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxListItem.php @@ -11,6 +11,8 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TCheckBox; + class TActiveCheckBoxListItem extends TActiveCheckBox { /** diff --git a/framework/Web/UI/ActiveControls/TActiveClientScript.php b/framework/Web/UI/ActiveControls/TActiveClientScript.php index f933b2f1..40bef4aa 100755 --- a/framework/Web/UI/ActiveControls/TActiveClientScript.php +++ b/framework/Web/UI/ActiveControls/TActiveClientScript.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TClientScript; /** * TActiveClientScript class diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php index 685a3688..3c13cc2f 100644 --- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php +++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /* * Load common active control options. */ +use Prado\Prado; +use Prado\Web\UI\TControlAdapter; + Prado::using('System.Web.UI.ActiveControls.TBaseActiveControl'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php index 3ff7478b..acddd275 100644 --- a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php +++ b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php @@ -11,6 +11,11 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Exceptions\TNotSupportedException; +use Prado\Prado; +use Prado\Web\UI\WebControls\TBaseValidator; +use Prado\Web\UI\WebControls\TCustomValidator; + Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php b/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php index 3dcf1b45..c43c939a 100644 --- a/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php +++ b/framework/Web/UI/ActiveControls/TActiveCustomValidatorClientSide.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\TPropertyValue; /** * Custom Validator callback client side options class. diff --git a/framework/Web/UI/ActiveControls/TActiveDataGrid.php b/framework/Web/UI/ActiveControls/TActiveDataGrid.php index 63ebe8de..574afed8 100644 --- a/framework/Web/UI/ActiveControls/TActiveDataGrid.php +++ b/framework/Web/UI/ActiveControls/TActiveDataGrid.php @@ -14,6 +14,12 @@ namespace Prado\Web\UI\ActiveControls; /** * Includes the following used classes */ +use Prado\Prado; +use Prado\Web\UI\ISurroundable; +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'); diff --git a/framework/Web/UI/ActiveControls/TActiveDataGridPager.php b/framework/Web/UI/ActiveControls/TActiveDataGridPager.php index c3aafe67..5e9f8e94 100644 --- a/framework/Web/UI/ActiveControls/TActiveDataGridPager.php +++ b/framework/Web/UI/ActiveControls/TActiveDataGridPager.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TDataGridPager; /** * TActiveDataGridPager class. diff --git a/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php b/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php index e9e7fc7a..a6e192e7 100644 --- a/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php +++ b/framework/Web/UI/ActiveControls/TActiveDataGridPagerEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TDataGridPagerEventParameter; /** * TActiveDataGridPagerEventParameter class diff --git a/framework/Web/UI/ActiveControls/TActiveDataList.php b/framework/Web/UI/ActiveControls/TActiveDataList.php index c352eb11..d46e4c74 100644 --- a/framework/Web/UI/ActiveControls/TActiveDataList.php +++ b/framework/Web/UI/ActiveControls/TActiveDataList.php @@ -9,6 +9,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TDataList; /** * TActiveDataList class diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php index 61f769ba..18169f57 100755 --- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php +++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php @@ -15,6 +15,13 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\UI\TControl; +use Prado\Web\UI\WebControls\TDatePicker; +use Prado\Web\UI\WebControls\TDatePickerInputMode; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownList.php b/framework/Web/UI/ActiveControls/TActiveDropDownList.php index 88b0172f..083b8290 100644 --- a/framework/Web/UI/ActiveControls/TActiveDropDownList.php +++ b/framework/Web/UI/ActiveControls/TActiveDropDownList.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active list control adapter */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TDropDownList; + Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php b/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php index 530500e2..29d1b993 100644 --- a/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveDropDownListColumn.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TDataGrid; +use Prado\Web\UI\WebControls\TDropDownListColumn; /** * TActiveDropDownListColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php b/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php index ef1f886d..60d5ab29 100644 --- a/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveEditCommandColumn.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\TButtonColumnType; +use Prado\Web\UI\WebControls\TEditCommandColumn; /** * TActiveEditCommandColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index 1e837643..21bddf85 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -13,6 +13,13 @@ namespace Prado\Web\UI\ActiveControls; /** * Load TActiveControlAdapter and TFileUpload. */ +use Exception; +use Prado\Exceptions\TInvalidDataValueException; +use Prado\Prado; +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'); diff --git a/framework/Web/UI/ActiveControls/TActiveHiddenField.php b/framework/Web/UI/ActiveControls/TActiveHiddenField.php index 7dda44d0..6bed13ce 100644 --- a/framework/Web/UI/ActiveControls/TActiveHiddenField.php +++ b/framework/Web/UI/ActiveControls/TActiveHiddenField.php @@ -11,6 +11,9 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\THiddenField; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLink.php b/framework/Web/UI/ActiveControls/TActiveHyperLink.php index d625cf24..53a3150d 100644 --- a/framework/Web/UI/ActiveControls/TActiveHyperLink.php +++ b/framework/Web/UI/ActiveControls/TActiveHyperLink.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\IO\TTextWriter; +use Prado\Prado; +use Prado\Web\UI\WebControls\THyperLink; /** * TActiveHyperLink class. diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php b/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php index 1d2d103c..54be2c24 100644 --- a/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveHyperLinkColumn.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TDataGrid; +use Prado\Web\UI\WebControls\THyperLinkColumn; /** * TActiveHyperLinkColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveImage.php b/framework/Web/UI/ActiveControls/TActiveImage.php index 3c2d0172..3ea0a1ca 100644 --- a/framework/Web/UI/ActiveControls/TActiveImage.php +++ b/framework/Web/UI/ActiveControls/TActiveImage.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TImage; /** * TActiveImage class. diff --git a/framework/Web/UI/ActiveControls/TActiveImageButton.php b/framework/Web/UI/ActiveControls/TActiveImageButton.php index df4dacb3..95106525 100644 --- a/framework/Web/UI/ActiveControls/TActiveImageButton.php +++ b/framework/Web/UI/ActiveControls/TActiveImageButton.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TImageButton; /** * TActiveImageButton class. diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php index 8ef99a47..ecfd9e9f 100644 --- a/framework/Web/UI/ActiveControls/TActiveLabel.php +++ b/framework/Web/UI/ActiveControls/TActiveLabel.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TLabel; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveLinkButton.php b/framework/Web/UI/ActiveControls/TActiveLinkButton.php index a5af0b39..c8e0c889 100644 --- a/framework/Web/UI/ActiveControls/TActiveLinkButton.php +++ b/framework/Web/UI/ActiveControls/TActiveLinkButton.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TLinkButton; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveListBox.php b/framework/Web/UI/ActiveControls/TActiveListBox.php index 16ef4e4f..3b407d35 100644 --- a/framework/Web/UI/ActiveControls/TActiveListBox.php +++ b/framework/Web/UI/ActiveControls/TActiveListBox.php @@ -11,6 +11,10 @@ namespace Prado\Web\UI\ActiveControls; + +use Prado\Prado; +use Prado\Web\UI\WebControls\TListBox; + /** * Load active list control adapter */ diff --git a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php index 30e4385e..4c6d9ff7 100644 --- a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php +++ b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\IListControlAdapter; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('System.Web.UI.WebControls.TListControl'); diff --git a/framework/Web/UI/ActiveControls/TActiveListItemCollection.php b/framework/Web/UI/ActiveControls/TActiveListItemCollection.php index 516599c2..6d18dc29 100644 --- a/framework/Web/UI/ActiveControls/TActiveListItemCollection.php +++ b/framework/Web/UI/ActiveControls/TActiveListItemCollection.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Collections\TListItemCollection; /** * TActiveListItemCollection class. diff --git a/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php b/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php index 59e1b366..a09fa118 100644 --- a/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveLiteralColumn.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TDataGrid; +use Prado\Web\UI\WebControls\TLiteralColumn; /** * TActiveLiteralColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveMultiView.php b/framework/Web/UI/ActiveControls/TActiveMultiView.php index 488796a1..8553b449 100644 --- a/framework/Web/UI/ActiveControls/TActiveMultiView.php +++ b/framework/Web/UI/ActiveControls/TActiveMultiView.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Includes the following used classes */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TMultiView; + Prado::using('System.Web.UI.WebControls.TMultiView'); /** diff --git a/framework/Web/UI/ActiveControls/TActivePageAdapter.php b/framework/Web/UI/ActiveControls/TActivePageAdapter.php index 0b038360..c579858b 100644 --- a/framework/Web/UI/ActiveControls/TActivePageAdapter.php +++ b/framework/Web/UI/ActiveControls/TActivePageAdapter.php @@ -15,6 +15,12 @@ namespace Prado\Web\UI\ActiveControls; /** * Load callback response adapter class. */ +use Prado\Prado; +use Prado\Web\Javascripts\TJavaScript; +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'); diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php index 119e3d9b..7a15ad42 100644 --- a/framework/Web/UI/ActiveControls/TActivePager.php +++ b/framework/Web/UI/ActiveControls/TActivePager.php @@ -14,6 +14,14 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TDisplayStyle; +use Prado\Web\UI\WebControls\TLabel; +use Prado\Web\UI\WebControls\TPager; +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'); /** diff --git a/framework/Web/UI/ActiveControls/TActivePanel.php b/framework/Web/UI/ActiveControls/TActivePanel.php index 007a8fba..c715e0b6 100644 --- a/framework/Web/UI/ActiveControls/TActivePanel.php +++ b/framework/Web/UI/ActiveControls/TActivePanel.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TPanel; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButton.php b/framework/Web/UI/ActiveControls/TActiveRadioButton.php index 4abdfe05..7c464db4 100644 --- a/framework/Web/UI/ActiveControls/TActiveRadioButton.php +++ b/framework/Web/UI/ActiveControls/TActiveRadioButton.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\TPropertyValue; +use Prado\Web\UI\WebControls\TRadioButton; /** * TActiveRadioButton class. diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php index 32e14ff9..89fa9847 100644 --- a/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php +++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonItem.php @@ -11,6 +11,8 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TRadioButton; + class TActiveRadioButtonItem extends TActiveRadioButton { /** diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php index a96bc486..4a3d6b1f 100644 --- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php +++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter and active radio button. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TRadioButtonList; + Prado::using('System.Web.UI.ActiveControls.TActiveListControlAdapter'); Prado::using('System.Web.UI.ActiveControls.TActiveRadioButton'); diff --git a/framework/Web/UI/ActiveControls/TActiveRatingList.php b/framework/Web/UI/ActiveControls/TActiveRatingList.php index e6e4be47..962ff9d5 100644 --- a/framework/Web/UI/ActiveControls/TActiveRatingList.php +++ b/framework/Web/UI/ActiveControls/TActiveRatingList.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TRatingList; /** * TActiveRatingList Class diff --git a/framework/Web/UI/ActiveControls/TActiveRepeater.php b/framework/Web/UI/ActiveControls/TActiveRepeater.php index 770c6c0b..323d5743 100644 --- a/framework/Web/UI/ActiveControls/TActiveRepeater.php +++ b/framework/Web/UI/ActiveControls/TActiveRepeater.php @@ -8,6 +8,8 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\ISurroundable; +use Prado\Web\UI\WebControls\TRepeater; /** * TActiveRepeater class diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php index 46da70bc..c0701a79 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableCell.php +++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php @@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls; /** * Includes the following used classes */ +use Prado\Exceptions\TConfigurationException; +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'); diff --git a/framework/Web/UI/ActiveControls/TActiveTableRow.php b/framework/Web/UI/ActiveControls/TActiveTableRow.php index d6f2c5dd..2547d48a 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableRow.php +++ b/framework/Web/UI/ActiveControls/TActiveTableRow.php @@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls; /** * Includes the following used classes */ +use Prado\Exceptions\TConfigurationException; +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'); diff --git a/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php b/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php index a566ed34..c0a49b63 100644 --- a/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php +++ b/framework/Web/UI/ActiveControls/TActiveTemplateColumn.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\WebControls\IItemDataRenderer; +use Prado\Web\UI\WebControls\TDataGrid; +use Prado\Web\UI\WebControls\TTemplateColumn; /** * TActiveTemplateColumn class diff --git a/framework/Web/UI/ActiveControls/TActiveTextBox.php b/framework/Web/UI/ActiveControls/TActiveTextBox.php index 8f78de88..15266529 100644 --- a/framework/Web/UI/ActiveControls/TActiveTextBox.php +++ b/framework/Web/UI/ActiveControls/TActiveTextBox.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\WebControls\TTextBox; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index 4faffb01..ab120ebe 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -14,6 +14,11 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active text box. */ +use Prado\Prado; +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'); diff --git a/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php b/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php index 246bfaf3..f9784975 100644 --- a/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php +++ b/framework/Web/UI/ActiveControls/TAutoCompleteTemplate.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\ITemplate; /** * TAutoCompleteTemplate class. diff --git a/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php b/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php index 50af1694..ffe00098 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveCallbackControl.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Exceptions\TConfigurationException; +use Prado\TPropertyValue; +use Prado\Web\Javascripts\TJavaScript; /** * TBaseActiveCallbackControl is a common set of options and functionality for diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index 74adecc2..3bcf0d95 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -11,6 +11,11 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Collections\TMap; +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\UI\TControl; + Prado::using('System.Web.UI.ActiveControls.TCallbackClientSide'); /** diff --git a/framework/Web/UI/ActiveControls/TCallback.php b/framework/Web/UI/ActiveControls/TCallback.php index 204e45c2..c5e4db53 100644 --- a/framework/Web/UI/ActiveControls/TCallback.php +++ b/framework/Web/UI/ActiveControls/TCallback.php @@ -14,6 +14,9 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\Web\UI\TControl; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php index e8656792..c8e4c5de 100644 --- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php +++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php @@ -10,6 +10,14 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Collections\TList; +use Prado\TPropertyValue; +use Prado\Web\UI\ISurroundable; +use Prado\Web\UI\TControl; +use Prado\Web\UI\THtmlWriter; +use Prado\Web\UI\WebControls\TCheckBox; +use Prado\Web\UI\WebControls\TCheckBoxList; +use Prado\Web\UI\WebControls\TListControl; /** * TCallbackClientScript class. diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSide.php b/framework/Web/UI/ActiveControls/TCallbackClientSide.php index f98657c3..158dc44b 100644 --- a/framework/Web/UI/ActiveControls/TCallbackClientSide.php +++ b/framework/Web/UI/ActiveControls/TCallbackClientSide.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\TPropertyValue; +use Prado\Web\UI\TClientSideOptions; +use Prado\Web\UI\TControl; /** * TCallbackClientSide class. diff --git a/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php b/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php index 479323a8..b7ea0ec4 100644 --- a/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php +++ b/framework/Web/UI/ActiveControls/TCallbackErrorHandler.php @@ -11,6 +11,12 @@ */ namespace Prado\Web\UI\ActiveControls; +use Exception; +use Prado\Exceptions\TErrorHandler; +use Prado\Exceptions\TPhpErrorException; +use Prado\Prado; +use Prado\TApplication; +use Prado\Web\Javascripts\TJavaScript; /** * TCallbackErrorHandler class. diff --git a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php index 515051fb..0f35774c 100644 --- a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php +++ b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\THttpResponse; /** * TCallbackEventParameter class. diff --git a/framework/Web/UI/ActiveControls/TCallbackOptions.php b/framework/Web/UI/ActiveControls/TCallbackOptions.php index 04886508..196a2e54 100644 --- a/framework/Web/UI/ActiveControls/TCallbackOptions.php +++ b/framework/Web/UI/ActiveControls/TCallbackOptions.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\Web\UI\TControl; /** * TCallbackOptions class. diff --git a/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php b/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php index 4128fe34..7ec5331e 100644 --- a/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php +++ b/framework/Web/UI/ActiveControls/TCallbackPageStateTracker.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Collections\TMap; +use stdClass; /** * TCallbackPageStateTracker class. diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php index bb0589d9..8ca1d47d 100755 --- a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php +++ b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\THttpResponseAdapter; /** * TCallbackResponseAdapter alters the THttpResponse's outputs. diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php b/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php index aeb95ed0..f6b0df55 100644 --- a/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php +++ b/framework/Web/UI/ActiveControls/TCallbackResponseWriter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\IO\TTextWriter; /** * TCallbackResponseWriter class. diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php index 468562db..b4780eda 100755 --- a/framework/Web/UI/ActiveControls/TDraggable.php +++ b/framework/Web/UI/ActiveControls/TDraggable.php @@ -9,6 +9,9 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\TPropertyValue; +use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\UI\WebControls\TPanel; /** * TDraggable is a control which can be dragged diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php index 6d688501..161bfb8b 100755 --- a/framework/Web/UI/ActiveControls/TDropContainer.php +++ b/framework/Web/UI/ActiveControls/TDropContainer.php @@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\UI\WebControls\TPanel; + Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); /** * Load active panel. diff --git a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php index 5844e3cd..3f097b91 100644 --- a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php +++ b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\Services\TPageService; +use Prado\Web\UI\TControl; /** * TDropContainerEventParameter class diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php index 26c022a9..c4271c25 100644 --- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php @@ -11,6 +11,9 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\TPropertyValue; + Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback'); /** diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php index 899cf3f8..83c7e825 100644 --- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php +++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php @@ -11,6 +11,11 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\UI\WebControls\TTextBox; +use Prado\Web\UI\WebControls\TWebControl; + Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); /** diff --git a/framework/Web/UI/ActiveControls/TInvalidCallbackException.php b/framework/Web/UI/ActiveControls/TInvalidCallbackException.php index 432b7ed6..80a932a8 100644 --- a/framework/Web/UI/ActiveControls/TInvalidCallbackException.php +++ b/framework/Web/UI/ActiveControls/TInvalidCallbackException.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Exceptions\TException; /** * TInvalidCallbackException class. diff --git a/framework/Web/UI/ActiveControls/TStyleDiff.php b/framework/Web/UI/ActiveControls/TStyleDiff.php index 496a5883..a7b707e0 100644 --- a/framework/Web/UI/ActiveControls/TStyleDiff.php +++ b/framework/Web/UI/ActiveControls/TStyleDiff.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\ActiveControls; +use Prado\Web\UI\WebControls\TStyle; /** * TStyleDiff class. diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php index 02b4fc01..95696c86 100644 --- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php @@ -14,6 +14,10 @@ namespace Prado\Web\UI\ActiveControls; /** * Load active callback control. */ +use Prado\Exceptions\TConfigurationException; +use Prado\Prado; +use Prado\TPropertyValue; + Prado::using('System.Web.UI.ActiveControls.TCallback'); /** diff --git a/framework/Web/UI/ActiveControls/TTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTriggeredCallback.php index 5c677456..21c86e55 100644 --- a/framework/Web/UI/ActiveControls/TTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTriggeredCallback.php @@ -11,6 +11,10 @@ namespace Prado\Web\UI\ActiveControls; +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 8fca817e..04c499a4 100644 --- a/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TValueTriggeredCallback.php @@ -11,6 +11,10 @@ namespace Prado\Web\UI\ActiveControls; +use Prado\Exceptions\TConfigurationException; +use Prado\Prado; +use Prado\TPropertyValue; + Prado::using('System.Web.UI.ActiveControls.TTriggeredCallback'); /** -- cgit v1.2.3