diff options
author | David <ottodavid@gmx.net> | 2015-07-11 12:31:44 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-07-11 12:39:42 +0200 |
commit | b46b4e7acb00715982a8d3543fb22f5ac64c88fe (patch) | |
tree | 88a6aa5c49a05874d1c2d3f64eb5f283e0c87cb1 /framework/Web/UI/WebControls | |
parent | 6dae236ec5528522de472637f9d70a98158b9a5d (diff) |
Added missing use statements in framework
Diffstat (limited to 'framework/Web/UI/WebControls')
73 files changed, 114 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TAccordion.php b/framework/Web/UI/WebControls/TAccordion.php index e615324a..eee0ad65 100644 --- a/framework/Web/UI/WebControls/TAccordion.php +++ b/framework/Web/UI/WebControls/TAccordion.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; use Prado\Web\Javascripts\TJavaScript; diff --git a/framework/Web/UI/WebControls/TBaseDataList.php b/framework/Web/UI/WebControls/TBaseDataList.php index 7d6a21bf..717a2feb 100644 --- a/framework/Web/UI/WebControls/TBaseDataList.php +++ b/framework/Web/UI/WebControls/TBaseDataList.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TList; +use Prado\Util\TDataFieldAccessor; /** * TBaseDataList class diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index 43834246..f89165b7 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -10,9 +10,12 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TNotSupportedException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataTypeException; use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\UI\IValidator; /** * TBaseValidator class diff --git a/framework/Web/UI/WebControls/TBoundColumn.php b/framework/Web/UI/WebControls/TBoundColumn.php index 36b9a143..37ad3262 100644 --- a/framework/Web/UI/WebControls/TBoundColumn.php +++ b/framework/Web/UI/WebControls/TBoundColumn.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index 31df8afd..784ff94a 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; use Prado\TPropertyValue; use Prado\Web\THttpUtility; diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php index 33ab6b9b..5e666d3f 100644 --- a/framework/Web/UI/WebControls/TCaptcha.php +++ b/framework/Web/UI/WebControls/TCaptcha.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TCaptchaValidator.php b/framework/Web/UI/WebControls/TCaptchaValidator.php index e2c44f9b..148cb627 100644 --- a/framework/Web/UI/WebControls/TCaptchaValidator.php +++ b/framework/Web/UI/WebControls/TCaptchaValidator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index f9f451c3..1ff69ba6 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TAttributeCollection; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index d680ec77..533ac527 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; +use Prado\Web\UI\ActiveControls\IActiveControl; /** * TCheckBoxList class diff --git a/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php b/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php index f0090b87..3bbec73d 100644 --- a/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php +++ b/framework/Web/UI/WebControls/TClientSideValidationSummaryOptions.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TClientSideOptions; /** * TClientSideValidationSummaryOptions class. diff --git a/framework/Web/UI/WebControls/TCompareValidator.php b/framework/Web/UI/WebControls/TCompareValidator.php index a62ab5d1..a4c44e82 100644 --- a/framework/Web/UI/WebControls/TCompareValidator.php +++ b/framework/Web/UI/WebControls/TCompareValidator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TCompleteWizardStep.php b/framework/Web/UI/WebControls/TCompleteWizardStep.php index 895e2046..073ac3d2 100644 --- a/framework/Web/UI/WebControls/TCompleteWizardStep.php +++ b/framework/Web/UI/WebControls/TCompleteWizardStep.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; /** * TCompleteWizardStep class. diff --git a/framework/Web/UI/WebControls/TConditional.php b/framework/Web/UI/WebControls/TConditional.php index 1a88c0a7..e4c08ef2 100644 --- a/framework/Web/UI/WebControls/TConditional.php +++ b/framework/Web/UI/WebControls/TConditional.php @@ -12,6 +12,7 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; +use Prado\Web\UI\ITemplate; /** * TConditional class. diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php index e75b6b81..a06463e6 100644 --- a/framework/Web/UI/WebControls/TContent.php +++ b/framework/Web/UI/WebControls/TContent.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\Web\UI\TControl; use Prado\Web\UI\INamingContainer; diff --git a/framework/Web/UI/WebControls/TContentPlaceHolder.php b/framework/Web/UI/WebControls/TContentPlaceHolder.php index 380a33fd..af50a8ce 100644 --- a/framework/Web/UI/WebControls/TContentPlaceHolder.php +++ b/framework/Web/UI/WebControls/TContentPlaceHolder.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; /** * TContentPlaceHolder class diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php index bf3778cf..b12fcf35 100644 --- a/framework/Web/UI/WebControls/TDataBoundControl.php +++ b/framework/Web/UI/WebControls/TDataBoundControl.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TPagedDataSource; +use Prado\Data\TDbDataReader; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; use Prado\Exceptions\TInvalidDataTypeException; diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 56bb5fa2..d8c29ddd 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -15,8 +15,11 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TList; +use Prado\Collections\TPagedDataSource; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Web\UI\ITemplate; /** * TDataGrid class diff --git a/framework/Web/UI/WebControls/TDataGridColumn.php b/framework/Web/UI/WebControls/TDataGridColumn.php index 0617782b..04cdf940 100644 --- a/framework/Web/UI/WebControls/TDataGridColumn.php +++ b/framework/Web/UI/WebControls/TDataGridColumn.php @@ -10,8 +10,12 @@ */ namespace Prado\Web\UI\WebControls; +use Exception; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; +use Prado\Util\TDataFieldAccessor; +use Prado\Web\UI\TControl; /** * TDataGridColumn class diff --git a/framework/Web/UI/WebControls/TDataGridColumnCollection.php b/framework/Web/UI/WebControls/TDataGridColumnCollection.php index e38bfef0..aa8c8c69 100644 --- a/framework/Web/UI/WebControls/TDataGridColumnCollection.php +++ b/framework/Web/UI/WebControls/TDataGridColumnCollection.php @@ -16,6 +16,7 @@ namespace Prado\Web\UI\WebControls; use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Web\UI\TControl; /** * TDataGridColumnCollection class. diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index 1b1a3bfd..809ac9ba 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -10,9 +10,12 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Web\UI\ITemplate; /** * TDataList class diff --git a/framework/Web/UI/WebControls/TDataListCommandEventParameter.php b/framework/Web/UI/WebControls/TDataListCommandEventParameter.php index 9c308521..0984392c 100644 --- a/framework/Web/UI/WebControls/TDataListCommandEventParameter.php +++ b/framework/Web/UI/WebControls/TDataListCommandEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TControl; /** * TDataListCommandEventParameter class diff --git a/framework/Web/UI/WebControls/TDataListItemCollection.php b/framework/Web/UI/WebControls/TDataListItemCollection.php index 3015e5e7..15c8a020 100644 --- a/framework/Web/UI/WebControls/TDataListItemCollection.php +++ b/framework/Web/UI/WebControls/TDataListItemCollection.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Web\UI\TControl; /** * TDataListItemCollection class. diff --git a/framework/Web/UI/WebControls/TDataListItemEventParameter.php b/framework/Web/UI/WebControls/TDataListItemEventParameter.php index f023db3b..79463e50 100644 --- a/framework/Web/UI/WebControls/TDataListItemEventParameter.php +++ b/framework/Web/UI/WebControls/TDataListItemEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TControl; /** * TDataListItemEventParameter class diff --git a/framework/Web/UI/WebControls/TDataRenderer.php b/framework/Web/UI/WebControls/TDataRenderer.php index 32c10d8a..2ec825d6 100644 --- a/framework/Web/UI/WebControls/TDataRenderer.php +++ b/framework/Web/UI/WebControls/TDataRenderer.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TTemplateControl; /** * TDataRenderer class diff --git a/framework/Web/UI/WebControls/TDataSourceControl.php b/framework/Web/UI/WebControls/TDataSourceControl.php index e4a405c2..731fda96 100644 --- a/framework/Web/UI/WebControls/TDataSourceControl.php +++ b/framework/Web/UI/WebControls/TDataSourceControl.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; /** * TDataSourceControl class diff --git a/framework/Web/UI/WebControls/TDataSourceView.php b/framework/Web/UI/WebControls/TDataSourceView.php index 251bf572..eb76b542 100644 --- a/framework/Web/UI/WebControls/TDataSourceView.php +++ b/framework/Web/UI/WebControls/TDataSourceView.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; /** * TDataSourceView class diff --git a/framework/Web/UI/WebControls/TDataTypeValidator.php b/framework/Web/UI/WebControls/TDataTypeValidator.php index 4ff2f89b..4d4b5919 100644 --- a/framework/Web/UI/WebControls/TDataTypeValidator.php +++ b/framework/Web/UI/WebControls/TDataTypeValidator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index d88eb38a..5483b6b2 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -10,8 +10,11 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\UI\TControl; /** * diff --git a/framework/Web/UI/WebControls/TDatePickerClientScript.php b/framework/Web/UI/WebControls/TDatePickerClientScript.php index 6be4b596..881b3d41 100644 --- a/framework/Web/UI/WebControls/TDatePickerClientScript.php +++ b/framework/Web/UI/WebControls/TDatePickerClientScript.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TClientSideOptions; /** * TDatePickerClientScript class. diff --git a/framework/Web/UI/WebControls/TDropDownList.php b/framework/Web/UI/WebControls/TDropDownList.php index cc1a7a9f..9ae3085f 100644 --- a/framework/Web/UI/WebControls/TDropDownList.php +++ b/framework/Web/UI/WebControls/TDropDownList.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TEditCommandColumn.php b/framework/Web/UI/WebControls/TEditCommandColumn.php index 07eec55b..48fff83c 100644 --- a/framework/Web/UI/WebControls/TEditCommandColumn.php +++ b/framework/Web/UI/WebControls/TEditCommandColumn.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/THiddenField.php b/framework/Web/UI/WebControls/THiddenField.php index b9138e7c..f73cf61a 100644 --- a/framework/Web/UI/WebControls/THiddenField.php +++ b/framework/Web/UI/WebControls/THiddenField.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/THotSpot.php b/framework/Web/UI/WebControls/THotSpot.php index fe267a75..1d2624f2 100644 --- a/framework/Web/UI/WebControls/THotSpot.php +++ b/framework/Web/UI/WebControls/THotSpot.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TAttributeCollection; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php index 3856cdb1..b1ca7119 100644 --- a/framework/Web/UI/WebControls/THtmlArea.php +++ b/framework/Web/UI/WebControls/THtmlArea.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidOperationException; +use Prado\Prado; +use Prado\TApplicationMode; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; diff --git a/framework/Web/UI/WebControls/THtmlArea4.php b/framework/Web/UI/WebControls/THtmlArea4.php index c5410ffd..e81e624e 100644 --- a/framework/Web/UI/WebControls/THtmlArea4.php +++ b/framework/Web/UI/WebControls/THtmlArea4.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; +use Prado\Prado; +use Prado\TApplicationMode; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; diff --git a/framework/Web/UI/WebControls/THyperLink.php b/framework/Web/UI/WebControls/THyperLink.php index f265e722..3c73503f 100644 --- a/framework/Web/UI/WebControls/THyperLink.php +++ b/framework/Web/UI/WebControls/THyperLink.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\Web\THttpUtility; /** diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php index 0a0b7ec7..e1c89157 100644 --- a/framework/Web/UI/WebControls/TImageButton.php +++ b/framework/Web/UI/WebControls/TImageButton.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; +use Prado\Web\UI\IPostBackEventHandler; /** * TImageButton class diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php index 2aeb9d9e..edb9fe64 100644 --- a/framework/Web/UI/WebControls/TKeyboard.php +++ b/framework/Web/UI/WebControls/TKeyboard.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index dac9a196..f784702d 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -11,7 +11,10 @@ */ namespace Prado\Web\UI\WebControls; +use Exception; +use Prado\Exceptions\TNotSupportedException; use Prado\TPropertyValue; +use Prado\Util\TDataFieldAccessor; use Prado\Web\THttpUtility; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TListControlValidator.php b/framework/Web/UI/WebControls/TListControlValidator.php index 41c5636e..3198f147 100644 --- a/framework/Web/UI/WebControls/TListControlValidator.php +++ b/framework/Web/UI/WebControls/TListControlValidator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php index 9e93b338..ec6be866 100644 --- a/framework/Web/UI/WebControls/TListItem.php +++ b/framework/Web/UI/WebControls/TListItem.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TAttributeCollection; +use Prado\Collections\TMap; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TLiteral.php b/framework/Web/UI/WebControls/TLiteral.php index dc15ad0c..874512a1 100644 --- a/framework/Web/UI/WebControls/TLiteral.php +++ b/framework/Web/UI/WebControls/TLiteral.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; +use Prado\Web\THttpUtility; /** * TLiteral class diff --git a/framework/Web/UI/WebControls/TMarkdown.php b/framework/Web/UI/WebControls/TMarkdown.php index 8d234820..a4a49648 100644 --- a/framework/Web/UI/WebControls/TMarkdown.php +++ b/framework/Web/UI/WebControls/TMarkdown.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Parsedown; /** * TMarkdown class diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index b3995c3e..0c6b3d7b 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.php @@ -10,8 +10,11 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidOperationException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; +use Prado\Web\UI\TControl; /** * TMultiView class diff --git a/framework/Web/UI/WebControls/TOutputCache.php b/framework/Web/UI/WebControls/TOutputCache.php index 8ff22157..1a7785d0 100644 --- a/framework/Web/UI/WebControls/TOutputCache.php +++ b/framework/Web/UI/WebControls/TOutputCache.php @@ -10,6 +10,10 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Caching\ICache; +use Prado\Exceptions\TConfigurationException; +use Prado\IO\TTextWriter; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php b/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php index 52bbf772..14809f43 100644 --- a/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php +++ b/framework/Web/UI/WebControls/TOutputCacheTextWriterMulti.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\IO\TTextWriter; /** * TOutputCacheTextWriterMulti class diff --git a/framework/Web/UI/WebControls/TPager.php b/framework/Web/UI/WebControls/TPager.php index aa7cda29..2a37021f 100644 --- a/framework/Web/UI/WebControls/TPager.php +++ b/framework/Web/UI/WebControls/TPager.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php b/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php index 53d46289..9343fc71 100644 --- a/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php +++ b/framework/Web/UI/WebControls/TPagerPageChangedEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TControl; /** * TPagerPageChangedEventParameter class diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php index 57368add..2bcd78ac 100644 --- a/framework/Web/UI/WebControls/TRadioButtonList.php +++ b/framework/Web/UI/WebControls/TRadioButtonList.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TNotSupportedException; /** * TRadioButtonList class diff --git a/framework/Web/UI/WebControls/TRangeValidator.php b/framework/Web/UI/WebControls/TRangeValidator.php index 81ccd4da..8d9372fa 100644 --- a/framework/Web/UI/WebControls/TRangeValidator.php +++ b/framework/Web/UI/WebControls/TRangeValidator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TReCaptcha.php b/framework/Web/UI/WebControls/TReCaptcha.php index c45c20da..1bde0016 100644 --- a/framework/Web/UI/WebControls/TReCaptcha.php +++ b/framework/Web/UI/WebControls/TReCaptcha.php @@ -11,8 +11,10 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\Javascripts\TJavaScriptLiteral; /** * TReCaptcha class. diff --git a/framework/Web/UI/WebControls/TReCaptchaValidator.php b/framework/Web/UI/WebControls/TReCaptchaValidator.php index 80e195e0..6f596e3c 100644 --- a/framework/Web/UI/WebControls/TReCaptchaValidator.php +++ b/framework/Web/UI/WebControls/TReCaptchaValidator.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\WebControls; +use Exception; use Prado\Web\Javascripts\TJavaScript; /** diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index d22a66ed..9f079ad3 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -14,6 +14,8 @@ use Prado\Exceptions\TInvalidDataTypeException; use Prado\Exceptions\TInvalidDataValueException; use Prado\Collections\TMap; use Prado\Collections\TList; +use Prado\Prado; +use Prado\Util\TDataFieldAccessor; /** * TRepeater class. diff --git a/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php b/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php index e6e9d240..f28f1063 100644 --- a/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php +++ b/framework/Web/UI/WebControls/TRepeaterCommandEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TControl; /** * TRepeaterCommandEventParameter class diff --git a/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php b/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php index 2d86df38..c8321228 100644 --- a/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php +++ b/framework/Web/UI/WebControls/TRepeaterItemEventParameter.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\TControl; /** * TRepeaterItemEventParameter class diff --git a/framework/Web/UI/WebControls/TSafeHtml.php b/framework/Web/UI/WebControls/TSafeHtml.php index aa5316e0..b60291b7 100644 --- a/framework/Web/UI/WebControls/TSafeHtml.php +++ b/framework/Web/UI/WebControls/TSafeHtml.php @@ -10,6 +10,8 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\IO\TTextWriter; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TSliderClientScript.php b/framework/Web/UI/WebControls/TSliderClientScript.php index 3dfd14d5..3758d87d 100644 --- a/framework/Web/UI/WebControls/TSliderClientScript.php +++ b/framework/Web/UI/WebControls/TSliderClientScript.php @@ -11,6 +11,8 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\Javascripts\TJavaScript; +use Prado\Web\UI\TClientSideOptions; /** * TSliderClientScript class. diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php index 4186ce3d..1f5b27a7 100644 --- a/framework/Web/UI/WebControls/TTabPanel.php +++ b/framework/Web/UI/WebControls/TTabPanel.php @@ -11,6 +11,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; use Prado\Web\Javascripts\TJavaScript; diff --git a/framework/Web/UI/WebControls/TTable.php b/framework/Web/UI/WebControls/TTable.php index b189e058..437aab2b 100644 --- a/framework/Web/UI/WebControls/TTable.php +++ b/framework/Web/UI/WebControls/TTable.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TTableFooterRow.php b/framework/Web/UI/WebControls/TTableFooterRow.php index 2414c613..ce1ede3c 100644 --- a/framework/Web/UI/WebControls/TTableFooterRow.php +++ b/framework/Web/UI/WebControls/TTableFooterRow.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; /** * TTableFooterRow class. diff --git a/framework/Web/UI/WebControls/TTableHeaderRow.php b/framework/Web/UI/WebControls/TTableHeaderRow.php index d6ca6146..2c773aed 100644 --- a/framework/Web/UI/WebControls/TTableHeaderRow.php +++ b/framework/Web/UI/WebControls/TTableHeaderRow.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; /** * TTableHeaderRow class. diff --git a/framework/Web/UI/WebControls/TTemplateColumn.php b/framework/Web/UI/WebControls/TTemplateColumn.php index b0b7167a..adb32970 100644 --- a/framework/Web/UI/WebControls/TTemplateColumn.php +++ b/framework/Web/UI/WebControls/TTemplateColumn.php @@ -10,7 +10,9 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\ITemplate; use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Prado; /** * TTemplateColumn class diff --git a/framework/Web/UI/WebControls/TTemplatedWizardStep.php b/framework/Web/UI/WebControls/TTemplatedWizardStep.php index c887d153..e782c635 100644 --- a/framework/Web/UI/WebControls/TTemplatedWizardStep.php +++ b/framework/Web/UI/WebControls/TTemplatedWizardStep.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\ITemplate; /** * TTemplatedWizardStep class. diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php index 4e8252ca..9ed41ec9 100644 --- a/framework/Web/UI/WebControls/TTextBox.php +++ b/framework/Web/UI/WebControls/TTextBox.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\THttpUtility; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TTextHighlighter.php b/framework/Web/UI/WebControls/TTextHighlighter.php index b6a0b46e..37bba1a2 100644 --- a/framework/Web/UI/WebControls/TTextHighlighter.php +++ b/framework/Web/UI/WebControls/TTextHighlighter.php @@ -12,6 +12,9 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; use Prado\Prado; +use Prado\Web\Javascripts\TJavaScript; +use Text_Highlighter; +use Text_Highlighter_Renderer_Html; // BC trick : only define constants if Text/Highlighter.php // is not yet included @@ -181,7 +184,7 @@ class TTextHighlighter extends TTextProcessor { try { - $highlighter=\Prado\Vendor\TextHighlighter\Text\Highlighter::factory($this->getLanguage()); + $highlighter=Text_Highlighter::factory($this->getLanguage()); } catch(\Exception $e) { diff --git a/framework/Web/UI/WebControls/TValidatorClientSide.php b/framework/Web/UI/WebControls/TValidatorClientSide.php index c5b87c18..9f59e92a 100644 --- a/framework/Web/UI/WebControls/TValidatorClientSide.php +++ b/framework/Web/UI/WebControls/TValidatorClientSide.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\TPropertyValue; +use Prado\Web\UI\TClientSideOptions; /** * TValidatorClientSide class. diff --git a/framework/Web/UI/WebControls/TView.php b/framework/Web/UI/WebControls/TView.php index 307a0838..2f43391a 100644 --- a/framework/Web/UI/WebControls/TView.php +++ b/framework/Web/UI/WebControls/TView.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Exceptions\TInvalidOperationException; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TWebControlDecorator.php b/framework/Web/UI/WebControls/TWebControlDecorator.php index c1d6ff1e..63a03e75 100644 --- a/framework/Web/UI/WebControls/TWebControlDecorator.php +++ b/framework/Web/UI/WebControls/TWebControlDecorator.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Prado; use Prado\TPropertyValue; /** diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index ef068384..9d18ddd8 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -10,6 +10,9 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Collections\TStack; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidOperationException; use Prado\TPropertyValue; use Prado\Exceptions\TInvalidDataValueException; diff --git a/framework/Web/UI/WebControls/TWizardNavigationTemplate.php b/framework/Web/UI/WebControls/TWizardNavigationTemplate.php index 9087e99a..e6a3ab9d 100644 --- a/framework/Web/UI/WebControls/TWizardNavigationTemplate.php +++ b/framework/Web/UI/WebControls/TWizardNavigationTemplate.php @@ -11,6 +11,7 @@ namespace Prado\Web\UI\WebControls; use Prado\Exceptions\TInvalidDataValueException; +use Prado\Web\UI\ITemplate; /** * TWizardNavigationTemplate class. diff --git a/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php b/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php index 53291a0f..ff41325a 100644 --- a/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php +++ b/framework/Web/UI/WebControls/TWizardSideBarListItemTemplate.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\ITemplate; /** * TWizardSideBarListItemTemplate class. diff --git a/framework/Web/UI/WebControls/TWizardSideBarTemplate.php b/framework/Web/UI/WebControls/TWizardSideBarTemplate.php index 8572a467..dd50cde9 100644 --- a/framework/Web/UI/WebControls/TWizardSideBarTemplate.php +++ b/framework/Web/UI/WebControls/TWizardSideBarTemplate.php @@ -10,6 +10,7 @@ */ namespace Prado\Web\UI\WebControls; +use Prado\Web\UI\ITemplate; /** * TWizardSideBarTemplate class. diff --git a/framework/Web/UI/WebControls/TXmlTransform.php b/framework/Web/UI/WebControls/TXmlTransform.php index c147b66c..cdaf2a79 100644 --- a/framework/Web/UI/WebControls/TXmlTransform.php +++ b/framework/Web/UI/WebControls/TXmlTransform.php @@ -11,7 +11,13 @@ */ namespace Prado\Web\UI\WebControls; +use DOMDocument; +use Prado\Collections\TAttributeCollection; +use Prado\Exceptions\TConfigurationException; use Prado\Exceptions\TInvalidDataValueException; +use Prado\IO\TTextWriter; +use Prado\Prado; +use XSLTProcessor; /** * TXmlTransform class |