summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-08 22:48:07 +0200
committerDavid <ottodavid@gmx.net>2015-08-09 09:44:04 +0200
commit92ee7558c6b6dd2461b645cb1f19a81ef8c50db5 (patch)
treec0cad47bd972c6b2c2b38fb144a417268e1bbd5a /framework
parent835e3f8c3a68b5a4577b0e1784f0e8eb1724a525 (diff)
Removed redundand Prado::using statements
Diffstat (limited to 'framework')
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordBelongsTo.php1
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php1
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php1
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordHasOne.php1
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php1
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php4
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TIbmScaffoldInput.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TMssqlScaffoldInput.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TMysqlScaffoldInput.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TPgsqlScaffoldInput.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/InputBuilder/TSqliteScaffoldInput.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php2
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldSearch.php1
-rw-r--r--framework/Data/ActiveRecord/Scaffold/TScaffoldView.php4
-rw-r--r--framework/Data/ActiveRecord/TActiveRecord.php3
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordConfig.php2
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordCriteria.php1
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordGateway.php2
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordManager.php4
-rw-r--r--framework/Data/Common/Mssql/TMssqlCommandBuilder.php1
-rw-r--r--framework/Data/Common/Mssql/TMssqlMetaData.php2
-rw-r--r--framework/Data/Common/Mssql/TMssqlTableColumn.php1
-rw-r--r--framework/Data/Common/Mssql/TMssqlTableInfo.php3
-rw-r--r--framework/Data/Common/Mysql/TMysqlCommandBuilder.php1
-rw-r--r--framework/Data/Common/Mysql/TMysqlMetaData.php2
-rw-r--r--framework/Data/Common/Mysql/TMysqlTableColumn.php1
-rw-r--r--framework/Data/Common/Mysql/TMysqlTableInfo.php3
-rw-r--r--framework/Data/Common/Oracle/TOracleCommandBuilder.php1
-rw-r--r--framework/Data/Common/Oracle/TOracleMetaData.php3
-rw-r--r--framework/Data/Common/Oracle/TOracleTableColumn.php1
-rw-r--r--framework/Data/Common/Oracle/TOracleTableInfo.php1
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlCommandBuilder.php1
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlMetaData.php2
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlTableColumn.php1
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlTableInfo.php3
-rw-r--r--framework/Data/Common/Sqlite/TSqliteCommandBuilder.php1
-rw-r--r--framework/Data/Common/Sqlite/TSqliteMetaData.php2
-rw-r--r--framework/Data/Common/Sqlite/TSqliteTableColumn.php1
-rw-r--r--framework/Data/Common/Sqlite/TSqliteTableInfo.php3
-rw-r--r--framework/Data/Common/TDbMetaData.php6
-rw-r--r--framework/Data/Common/TDbTableInfo.php1
-rw-r--r--framework/Data/DataGateway/TTableGateway.php3
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php1
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php1
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedCommand.php2
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php2
-rw-r--r--framework/Data/SqlMap/TSqlMapGateway.php1
-rw-r--r--framework/Data/SqlMap/TSqlMapManager.php9
-rw-r--r--framework/Data/TDataSourceConfig.php2
-rw-r--r--framework/Data/TDbConnection.php3
-rw-r--r--framework/Data/TDbTransaction.php1
-rw-r--r--framework/I18N/TChoiceFormat.php2
-rw-r--r--framework/I18N/TDateFormat.php2
-rw-r--r--framework/I18N/TNumberFormat.php2
-rw-r--r--framework/I18N/TTranslate.php1
-rw-r--r--framework/I18N/Translation.php1
-rw-r--r--framework/PradoBase.php1
-rw-r--r--framework/Util/TLogRouter.php1
-rw-r--r--framework/Vendor/SafeHtml/TSafeHtmlParser.php1
-rw-r--r--framework/Web/Services/TSoapServer.php2
-rw-r--r--framework/Web/TAssetManager.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveButton.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBox.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBoxList.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveControlAdapter.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCustomValidator.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDataGrid.php13
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDropDownList.php1
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveFileUpload.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHiddenField.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLabel.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLinkButton.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListBox.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListControlAdapter.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveMultiView.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActivePageAdapter.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActivePager.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActivePanel.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButtonList.php2
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTableCell.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTableRow.php3
-rw-r--r--framework/Web/UI/ActiveControls/TActiveTextBox.php1
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php2
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php1
-rw-r--r--framework/Web/UI/ActiveControls/TCallback.php1
-rwxr-xr-xframework/Web/UI/ActiveControls/TDropContainer.php2
-rw-r--r--framework/Web/UI/ActiveControls/TEventTriggeredCallback.php1
-rw-r--r--framework/Web/UI/ActiveControls/TInPlaceTextBox.php1
-rw-r--r--framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php1
-rw-r--r--framework/Web/UI/ActiveControls/TTriggeredCallback.php1
-rw-r--r--framework/Web/UI/ActiveControls/TValueTriggeredCallback.php1
-rw-r--r--framework/Web/UI/JuiControls/TJuiAutoComplete.php3
-rw-r--r--framework/Web/UI/JuiControls/TJuiControlAdapter.php1
-rw-r--r--framework/Web/UI/JuiControls/TJuiDraggable.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiDroppable.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiProgressbar.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiResizable.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiSelectable.php2
-rw-r--r--framework/Web/UI/JuiControls/TJuiSortable.php2
-rw-r--r--framework/Web/UI/TPage.php2
-rw-r--r--framework/Wsat/TWsatARGenerator.php1
-rw-r--r--framework/Wsat/TWsatBaseGenerator.php1
-rw-r--r--framework/Wsat/TWsatScaffoldingGenerator.php1
-rw-r--r--framework/Wsat/pages/TWsatGenerateAR.php1
-rw-r--r--framework/Wsat/pages/TWsatHome.php1
-rw-r--r--framework/Wsat/pages/TWsatScaffolding.php1
110 files changed, 0 insertions, 194 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordBelongsTo.php b/framework/Data/ActiveRecord/Relations/TActiveRecordBelongsTo.php
index 3ff2d196..55a09baa 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordBelongsTo.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordBelongsTo.php
@@ -17,7 +17,6 @@ namespace Prado\Data\ActiveRecord\Relations;
use Prado\Data\ActiveRecord\Exceptions\TActiveRecordException;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
/**
* Implements the foreign key relationship (TActiveRecord::BELONGS_TO) between
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php b/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
index 06c14950..8b93fcee 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
@@ -16,7 +16,6 @@ namespace Prado\Data\ActiveRecord\Relations;
*/
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
/**
* Implements TActiveRecord::HAS_MANY relationship between the source object having zero or
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php
index f5d644be..2632fa83 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php
@@ -17,7 +17,6 @@ namespace Prado\Data\ActiveRecord\Relations;
use Prado\Data\ActiveRecord\TActiveRecord;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
/**
* Implements the M-N (many to many) relationship via association table.
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordHasOne.php b/framework/Data/ActiveRecord/Relations/TActiveRecordHasOne.php
index 320cfc32..b0787f3a 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordHasOne.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordHasOne.php
@@ -17,7 +17,6 @@ namespace Prado\Data\ActiveRecord\Relations;
use Prado\Data\ActiveRecord\Exceptions\TActiveRecordException;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
/**
* TActiveRecordHasOne models the object relationship that a record (the source object)
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
index d7f6d0a7..d9a0e9e2 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
@@ -18,7 +18,6 @@ use Prado\Data\ActiveRecord\Exceptions\TActiveRecordException;
use Prado\Data\ActiveRecord\TActiveRecord;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelationContext');
/**
* Base class for active record relationships.
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php
index 2af4ec7d..d3833d69 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php
@@ -183,16 +183,12 @@ class TActiveRecordRelationContext
switch($this->getRelationType())
{
case TActiveRecord::HAS_MANY:
- Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordHasMany');
return new TActiveRecordHasMany($this, $criteria);
case TActiveRecord::MANY_TO_MANY:
- Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordHasManyAssociation');
return new TActiveRecordHasManyAssociation($this, $criteria);
case TActiveRecord::HAS_ONE:
- Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordHasOne');
return new TActiveRecordHasOne($this, $criteria);
case TActiveRecord::BELONGS_TO:
- Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordBelongsTo');
return new TActiveRecordBelongsTo($this, $criteria);
default:
throw new TActiveRecordException('ar_invalid_relationship');
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TIbmScaffoldInput.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TIbmScaffoldInput.php
index 7c55fa14..76344e65 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TIbmScaffoldInput.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TIbmScaffoldInput.php
@@ -13,7 +13,6 @@ namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputCommon');
class TIbmScaffoldInput extends TScaffoldInputCommon
{
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMssqlScaffoldInput.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMssqlScaffoldInput.php
index 41c50dad..8807840c 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMssqlScaffoldInput.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMssqlScaffoldInput.php
@@ -12,7 +12,6 @@ namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputCommon');
class TMssqlScaffoldInput extends TScaffoldInputCommon
{
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMysqlScaffoldInput.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMysqlScaffoldInput.php
index cd27fbab..decc1956 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMysqlScaffoldInput.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TMysqlScaffoldInput.php
@@ -12,7 +12,6 @@ namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputCommon');
class TMysqlScaffoldInput extends TScaffoldInputCommon
{
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TPgsqlScaffoldInput.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TPgsqlScaffoldInput.php
index 46da92e8..2575ab85 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TPgsqlScaffoldInput.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TPgsqlScaffoldInput.php
@@ -12,7 +12,6 @@ namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputCommon');
class TPgsqlScaffoldInput extends TScaffoldInputCommon
{
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php
index f366d5eb..f538b10e 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php
@@ -27,7 +27,6 @@ use Prado\Web\UI\WebControls\TTextBoxMode;
use Prado\Web\UI\WebControls\TValidationDataType;
use Prado\Web\UI\WebControls\TValidatorDisplayStyle;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputBase');
class TScaffoldInputCommon extends TScaffoldInputBase
{
diff --git a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TSqliteScaffoldInput.php b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TSqliteScaffoldInput.php
index 38e37a18..04fe7457 100644
--- a/framework/Data/ActiveRecord/Scaffold/InputBuilder/TSqliteScaffoldInput.php
+++ b/framework/Data/ActiveRecord/Scaffold/InputBuilder/TSqliteScaffoldInput.php
@@ -12,7 +12,6 @@ namespace Prado\Data\ActiveRecord\Scaffold\InputBuilder;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputCommon');
class TSqliteScaffoldInput extends TScaffoldInputCommon
{
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
index 8e044606..b67390b2 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php
@@ -20,7 +20,6 @@ use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Web\UI\TTemplateControl;
-Prado::using('System.Data.ActiveRecord.TActiveRecord');
/**
* Base class for Active Record scaffold views.
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
index df251efa..2eecf908 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php
@@ -20,7 +20,6 @@ use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Web\UI\WebControls\TListItemType;
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
/**
* Template control for editing an Active Record instance.
@@ -276,7 +275,6 @@ class TScaffoldEditView extends TScaffoldBase
$class = get_class($record);
if(!isset($_builders[$class]))
{
- Prado::using('System.Data.ActiveRecord.Scaffold.InputBuilder.TScaffoldInputBase');
$_builders[$class] = TScaffoldInputBase::createInputBuilder($record);
}
return $_builders[$class];
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
index e7e5ab9c..0303337e 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldListView.php
@@ -22,7 +22,6 @@ use Prado\Web\UI\WebControls\IItemDataRenderer;
use Prado\Web\UI\WebControls\TListItemType;
use Prado\Web\UI\WebControls\TRepeaterCommandEventParameter;
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
/**
* TScaffoldListView displays a list of Active Records.
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldSearch.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldSearch.php
index 26b8e0b5..b7eb5c80 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldSearch.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldSearch.php
@@ -17,7 +17,6 @@ namespace Prado\Data\ActiveRecord\Scaffold;
use Prado\Exceptions\TConfigurationException;
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
/**
* TScaffoldSearch provide a simple textbox and a button that is used
diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
index 27adb544..32b3f233 100644
--- a/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
+++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldView.php
@@ -16,10 +16,6 @@ namespace Prado\Data\ActiveRecord\Scaffold;
*/
use Prado\Prado;
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase');
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldListView');
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldEditView');
-Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldSearch');
/**
* TScaffoldView is a composite control consisting of TScaffoldListView
diff --git a/framework/Data/ActiveRecord/TActiveRecord.php b/framework/Data/ActiveRecord/TActiveRecord.php
index 27c51fcd..38f8ef29 100644
--- a/framework/Data/ActiveRecord/TActiveRecord.php
+++ b/framework/Data/ActiveRecord/TActiveRecord.php
@@ -21,9 +21,6 @@ use Prado\Prado;
use Prado\TPropertyValue;
use ReflectionClass;
-Prado::using('System.Data.ActiveRecord.TActiveRecordManager');
-Prado::using('System.Data.ActiveRecord.TActiveRecordCriteria');
-Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelationContext');
/**
* Base class for active records.
diff --git a/framework/Data/ActiveRecord/TActiveRecordConfig.php b/framework/Data/ActiveRecord/TActiveRecordConfig.php
index 3975032a..fc9b5f89 100644
--- a/framework/Data/ActiveRecord/TActiveRecordConfig.php
+++ b/framework/Data/ActiveRecord/TActiveRecordConfig.php
@@ -15,8 +15,6 @@ use Prado\Data\TDataSourceConfig;
use Prado\Prado;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDataSourceConfig');
-Prado::using('System.Data.ActiveRecord.TActiveRecordManager');
/**
* TActiveRecordConfig module configuration class.
diff --git a/framework/Data/ActiveRecord/TActiveRecordCriteria.php b/framework/Data/ActiveRecord/TActiveRecordCriteria.php
index 74b71511..00e36380 100644
--- a/framework/Data/ActiveRecord/TActiveRecordCriteria.php
+++ b/framework/Data/ActiveRecord/TActiveRecordCriteria.php
@@ -14,7 +14,6 @@ namespace Prado\Data\ActiveRecord;
use Prado\Data\DataGateway\TSqlCriteria;
use Prado\Prado;
-Prado::using('System.Data.DataGateway.TSqlCriteria');
/**
* Search criteria for Active Record.
diff --git a/framework/Data/ActiveRecord/TActiveRecordGateway.php b/framework/Data/ActiveRecord/TActiveRecordGateway.php
index 2c231f80..e70adceb 100644
--- a/framework/Data/ActiveRecord/TActiveRecordGateway.php
+++ b/framework/Data/ActiveRecord/TActiveRecordGateway.php
@@ -118,7 +118,6 @@ class TActiveRecordGateway extends \Prado\TComponent
//will find the correct driver dependent classes.
if(!isset($this->_meta[$connStr]))
{
- Prado::using('System.Data.Common.TDbMetaData');
$this->_meta[$connStr] = TDbMetaData::getInstance($connection);
}
@@ -148,7 +147,6 @@ class TActiveRecordGateway extends \Prado\TComponent
if(!isset($this->_commandBuilders[$connStr]))
{
$builder = $tableInfo->createCommandBuilder($record->getDbConnection());
- Prado::using('System.Data.DataGateway.TDataGatewayCommand');
$command = new TDataGatewayCommand($builder);
$command->OnCreateCommand[] = array($this, 'onCreateCommand');
$command->OnExecuteCommand[] = array($this, 'onExecuteCommand');
diff --git a/framework/Data/ActiveRecord/TActiveRecordManager.php b/framework/Data/ActiveRecord/TActiveRecordManager.php
index 3c21f432..11ffa047 100644
--- a/framework/Data/ActiveRecord/TActiveRecordManager.php
+++ b/framework/Data/ActiveRecord/TActiveRecordManager.php
@@ -14,10 +14,6 @@ namespace Prado\Data\ActiveRecord;
use Prado\Prado;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDbConnection');
-Prado::using('System.Data.ActiveRecord.TActiveRecord');
-Prado::using('System.Data.ActiveRecord.Exceptions.TActiveRecordException');
-Prado::using('System.Data.ActiveRecord.TActiveRecordGateway');
/**
* TActiveRecordManager provides the default DB connection,
diff --git a/framework/Data/Common/Mssql/TMssqlCommandBuilder.php b/framework/Data/Common/Mssql/TMssqlCommandBuilder.php
index 498c8177..03f41552 100644
--- a/framework/Data/Common/Mssql/TMssqlCommandBuilder.php
+++ b/framework/Data/Common/Mssql/TMssqlCommandBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\Common\Mssql;
use Prado\Data\Common\TDbCommandBuilder;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TMssqlCommandBuilder provides specifics methods to create limit/offset query commands
diff --git a/framework/Data/Common/Mssql/TMssqlMetaData.php b/framework/Data/Common/Mssql/TMssqlMetaData.php
index 5c4ec036..6899a604 100644
--- a/framework/Data/Common/Mssql/TMssqlMetaData.php
+++ b/framework/Data/Common/Mssql/TMssqlMetaData.php
@@ -18,8 +18,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.Mssql.TMssqlTableInfo');
/**
* TMssqlMetaData loads MSSQL database table and column information.
diff --git a/framework/Data/Common/Mssql/TMssqlTableColumn.php b/framework/Data/Common/Mssql/TMssqlTableColumn.php
index 2f75b5be..fbaddedf 100644
--- a/framework/Data/Common/Mssql/TMssqlTableColumn.php
+++ b/framework/Data/Common/Mssql/TMssqlTableColumn.php
@@ -17,7 +17,6 @@ namespace Prado\Data\Common\Mssql;
use Prado\Data\Common\TDbTableColumn;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableColumn');
/**
* Describes the column metadata of the schema for a Mssql database table.
diff --git a/framework/Data/Common/Mssql/TMssqlTableInfo.php b/framework/Data/Common/Mssql/TMssqlTableInfo.php
index 187eac78..93bef5bf 100644
--- a/framework/Data/Common/Mssql/TMssqlTableInfo.php
+++ b/framework/Data/Common/Mssql/TMssqlTableInfo.php
@@ -17,8 +17,6 @@ namespace Prado\Data\Common\Mssql;
use Prado\Data\Common\TDbTableInfo;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableInfo');
-Prado::using('System.Data.Common.Mssql.TMssqlTableColumn');
/**
* TMssqlTableInfo class provides additional table information for Mssql database.
@@ -60,7 +58,6 @@ class TMssqlTableInfo extends TDbTableInfo
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.Mssql.TMssqlCommandBuilder');
return new TMssqlCommandBuilder($connection,$this);
}
}
diff --git a/framework/Data/Common/Mysql/TMysqlCommandBuilder.php b/framework/Data/Common/Mysql/TMysqlCommandBuilder.php
index a4f717e0..f2b00e37 100644
--- a/framework/Data/Common/Mysql/TMysqlCommandBuilder.php
+++ b/framework/Data/Common/Mysql/TMysqlCommandBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\Common\Mysql;
use Prado\Data\Common\TDbCommandBuilder;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TMysqlCommandBuilder implements default TDbCommandBuilder
diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php
index f2754181..55193a05 100644
--- a/framework/Data/Common/Mysql/TMysqlMetaData.php
+++ b/framework/Data/Common/Mysql/TMysqlMetaData.php
@@ -20,8 +20,6 @@ use Prado\Data\TDbColumnCaseMode;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.Mysql.TMysqlTableInfo');
/**
* TMysqlMetaData loads Mysql version 4.1.x and 5.x database table and column information.
diff --git a/framework/Data/Common/Mysql/TMysqlTableColumn.php b/framework/Data/Common/Mysql/TMysqlTableColumn.php
index ef1e35c9..3158cacf 100644
--- a/framework/Data/Common/Mysql/TMysqlTableColumn.php
+++ b/framework/Data/Common/Mysql/TMysqlTableColumn.php
@@ -17,7 +17,6 @@ namespace Prado\Data\Common\Mysql;
use Prado\Data\Common\TDbTableColumn;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableColumn');
/**
* Describes the column metadata of the schema for a Mysql database table.
diff --git a/framework/Data/Common/Mysql/TMysqlTableInfo.php b/framework/Data/Common/Mysql/TMysqlTableInfo.php
index 896f4e59..4be9fb62 100644
--- a/framework/Data/Common/Mysql/TMysqlTableInfo.php
+++ b/framework/Data/Common/Mysql/TMysqlTableInfo.php
@@ -17,8 +17,6 @@ namespace Prado\Data\Common\Mysql;
use Prado\Data\Common\TDbTableInfo;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableInfo');
-Prado::using('System.Data.Common.Mysql.TMysqlTableColumn');
/**
* TMysqlTableInfo class provides additional table information for MySQL database.
@@ -54,7 +52,6 @@ class TMysqlTableInfo extends TDbTableInfo
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.Mysql.TMysqlCommandBuilder');
return new TMysqlCommandBuilder($connection,$this);
}
}
diff --git a/framework/Data/Common/Oracle/TOracleCommandBuilder.php b/framework/Data/Common/Oracle/TOracleCommandBuilder.php
index d9b2b274..f307b46c 100644
--- a/framework/Data/Common/Oracle/TOracleCommandBuilder.php
+++ b/framework/Data/Common/Oracle/TOracleCommandBuilder.php
@@ -15,7 +15,6 @@ namespace Prado\Data\Common\Oracle;
use Prado\Data\Common\TDbCommandBuilder;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TOracleCommandBuilder provides specifics methods to create limit/offset query commands
diff --git a/framework/Data/Common/Oracle/TOracleMetaData.php b/framework/Data/Common/Oracle/TOracleMetaData.php
index 043bf151..fe8b5333 100644
--- a/framework/Data/Common/Oracle/TOracleMetaData.php
+++ b/framework/Data/Common/Oracle/TOracleMetaData.php
@@ -19,9 +19,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.Oracle.TOracleTableInfo');
-Prado::using('System.Data.Common.Oracle.TOracleTableColumn');
/**
* TOracleMetaData loads Oracle database table and column information.
diff --git a/framework/Data/Common/Oracle/TOracleTableColumn.php b/framework/Data/Common/Oracle/TOracleTableColumn.php
index 9b9c0ce0..4dc7e457 100644
--- a/framework/Data/Common/Oracle/TOracleTableColumn.php
+++ b/framework/Data/Common/Oracle/TOracleTableColumn.php
@@ -17,7 +17,6 @@ namespace Prado\Data\Common\Oracle;
use Prado\Data\Common\TDbTableColumn;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableColumn');
/**
* Describes the column metadata of the schema for a PostgreSQL database table.
diff --git a/framework/Data/Common/Oracle/TOracleTableInfo.php b/framework/Data/Common/Oracle/TOracleTableInfo.php
index 4f163024..72aba2d6 100644
--- a/framework/Data/Common/Oracle/TOracleTableInfo.php
+++ b/framework/Data/Common/Oracle/TOracleTableInfo.php
@@ -51,7 +51,6 @@ class TOracleTableInfo extends \Prado\TComponent
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.Oracle.TOracleCommandBuilder');
return new TOracleCommandBuilder($connection,$this);
}
diff --git a/framework/Data/Common/Pgsql/TPgsqlCommandBuilder.php b/framework/Data/Common/Pgsql/TPgsqlCommandBuilder.php
index 10905a4b..6c8ef7b9 100644
--- a/framework/Data/Common/Pgsql/TPgsqlCommandBuilder.php
+++ b/framework/Data/Common/Pgsql/TPgsqlCommandBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\Common\Pgsql;
use Prado\Data\Common\TDbCommandBuilder;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TPgsqlCommandBuilder provides specifics methods to create limit/offset query commands
diff --git a/framework/Data/Common/Pgsql/TPgsqlMetaData.php b/framework/Data/Common/Pgsql/TPgsqlMetaData.php
index e848d6af..82b073d1 100644
--- a/framework/Data/Common/Pgsql/TPgsqlMetaData.php
+++ b/framework/Data/Common/Pgsql/TPgsqlMetaData.php
@@ -18,8 +18,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.Pgsql.TPgsqlTableInfo');
/**
* TPgsqlMetaData loads PostgreSQL database table and column information.
diff --git a/framework/Data/Common/Pgsql/TPgsqlTableColumn.php b/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
index 98b1f296..ab4497e5 100644
--- a/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
+++ b/framework/Data/Common/Pgsql/TPgsqlTableColumn.php
@@ -17,7 +17,6 @@ namespace Prado\Data\Common\Pgsql;
use Prado\Data\Common\TDbTableColumn;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableColumn');
/**
* Describes the column metadata of the schema for a PostgreSQL database table.
diff --git a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
index 475b737f..60f0ef55 100644
--- a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
+++ b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
@@ -17,8 +17,6 @@ namespace Prado\Data\Common\Pgsql;
use Prado\Data\Common\TDbTableInfo;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableInfo');
-Prado::using('System.Data.Common.Pgsql.TPgsqlTableColumn');
/**
* TPgsqlTableInfo class provides additional table information for PostgreSQL database.
@@ -54,7 +52,6 @@ class TPgsqlTableInfo extends TDbTableInfo
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.Pgsql.TPgsqlCommandBuilder');
return new TPgsqlCommandBuilder($connection,$this);
}
}
diff --git a/framework/Data/Common/Sqlite/TSqliteCommandBuilder.php b/framework/Data/Common/Sqlite/TSqliteCommandBuilder.php
index 8b840207..7d7d931e 100644
--- a/framework/Data/Common/Sqlite/TSqliteCommandBuilder.php
+++ b/framework/Data/Common/Sqlite/TSqliteCommandBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\Common\Sqlite;
use Prado\Data\Common\TDbCommandBuilder;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TSqliteCommandBuilder provides specifics methods to create limit/offset query commands
diff --git a/framework/Data/Common/Sqlite/TSqliteMetaData.php b/framework/Data/Common/Sqlite/TSqliteMetaData.php
index 4e0fdaed..ae1c043c 100644
--- a/framework/Data/Common/Sqlite/TSqliteMetaData.php
+++ b/framework/Data/Common/Sqlite/TSqliteMetaData.php
@@ -18,8 +18,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.Sqlite.TSqliteTableInfo');
/**
* TSqliteMetaData loads SQLite database table and column information.
diff --git a/framework/Data/Common/Sqlite/TSqliteTableColumn.php b/framework/Data/Common/Sqlite/TSqliteTableColumn.php
index daf427f7..af6c4e91 100644
--- a/framework/Data/Common/Sqlite/TSqliteTableColumn.php
+++ b/framework/Data/Common/Sqlite/TSqliteTableColumn.php
@@ -17,7 +17,6 @@ namespace Prado\Data\Common\Sqlite;
use Prado\Data\Common\TDbTableColumn;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableColumn');
/**
* Describes the column metadata of the schema for a PostgreSQL database table.
diff --git a/framework/Data/Common/Sqlite/TSqliteTableInfo.php b/framework/Data/Common/Sqlite/TSqliteTableInfo.php
index f0143810..aa2272af 100644
--- a/framework/Data/Common/Sqlite/TSqliteTableInfo.php
+++ b/framework/Data/Common/Sqlite/TSqliteTableInfo.php
@@ -17,8 +17,6 @@ namespace Prado\Data\Common\Sqlite;
use Prado\Data\Common\TDbTableInfo;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbTableInfo');
-Prado::using('System.Data.Common.Sqlite.TSqliteTableColumn');
/**
* TSqliteTableInfo class provides additional table information for PostgreSQL database.
@@ -35,7 +33,6 @@ class TSqliteTableInfo extends TDbTableInfo
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.Sqlite.TSqliteCommandBuilder');
return new TSqliteCommandBuilder($connection,$this);
}
diff --git a/framework/Data/Common/TDbMetaData.php b/framework/Data/Common/TDbMetaData.php
index 4f20397c..13839728 100644
--- a/framework/Data/Common/TDbMetaData.php
+++ b/framework/Data/Common/TDbMetaData.php
@@ -66,26 +66,20 @@ abstract class TDbMetaData extends \Prado\TComponent
switch(strtolower($driver))
{
case 'pgsql':
- Prado::using('System.Data.Common.Pgsql.TPgsqlMetaData');
return new TPgsqlMetaData($conn);
case 'mysqli':
case 'mysql':
- Prado::using('System.Data.Common.Mysql.TMysqlMetaData');
return new TMysqlMetaData($conn);
case 'sqlite': //sqlite 3
case 'sqlite2': //sqlite 2
- Prado::using('System.Data.Common.Sqlite.TSqliteMetaData');
return new TSqliteMetaData($conn);
case 'mssql': // Mssql driver on windows hosts
case 'sqlsrv': // sqlsrv driver on windows hosts
case 'dblib': // dblib drivers on linux (and maybe others os) hosts
- Prado::using('System.Data.Common.Mssql.TMssqlMetaData');
return new TMssqlMetaData($conn);
case 'oci':
- Prado::using('System.Data.Common.Oracle.TOracleMetaData');
return new TOracleMetaData($conn);
// case 'ibm':
-// Prado::using('System.Data.Common.IbmDb2.TIbmDb2MetaData');
// return new TIbmDb2MetaData($conn);
default:
throw new TDbException('ar_invalid_database_driver',$driver);
diff --git a/framework/Data/Common/TDbTableInfo.php b/framework/Data/Common/TDbTableInfo.php
index 69fa50f0..e9a16a65 100644
--- a/framework/Data/Common/TDbTableInfo.php
+++ b/framework/Data/Common/TDbTableInfo.php
@@ -56,7 +56,6 @@ class TDbTableInfo extends \Prado\TComponent
*/
public function createCommandBuilder($connection)
{
- Prado::using('System.Data.Common.TDbCommandBuilder');
return new TDbCommandBuilder($connection,$this);
}
diff --git a/framework/Data/DataGateway/TTableGateway.php b/framework/Data/DataGateway/TTableGateway.php
index db299a1d..41cab6fd 100644
--- a/framework/Data/DataGateway/TTableGateway.php
+++ b/framework/Data/DataGateway/TTableGateway.php
@@ -19,8 +19,6 @@ use Prado\Data\Common\TDbTableInfo;
use Prado\Exceptions\TDbException;
use Prado\Prado;
-Prado::using('System.Data.DataGateway.TSqlCriteria');
-Prado::using('System.Data.DataGateway.TDataGatewayCommand');
/**
* TTableGateway class provides several find methods to get data from the database
@@ -118,7 +116,6 @@ class TTableGateway extends \Prado\TComponent
*/
protected function setTableName($tableName)
{
- Prado::using('System.Data.Common.TDbMetaData');
$meta = TDbMetaData::getInstance($this->getDbConnection());
$this->initCommandBuilder($meta->createCommandBuilder($tableName));
}
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
index 765e0d9f..bc6f9f4b 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
@@ -14,7 +14,6 @@ namespace Prado\Data\SqlMap\Configuration;
use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
/**
* TSqlMapXmlConfig class file.
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
index 248aaa9b..d54e41d7 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php
@@ -16,7 +16,6 @@ use Prado\Collections\TPagedList;
use Prado\Data\SqlMap\Statements\IMappedStatement;
use Prado\Prado;
-Prado::using('System.Collections.TPagedList');
/**
* TSqlMapPagedList implements a list with paging functionality that retrieves
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php
index 9ddfc67e..cee5dd70 100644
--- a/framework/Data/SqlMap/Statements/TPreparedCommand.php
+++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php
@@ -16,8 +16,6 @@ use Prado\Data\Common\TDbMetaData;
use Prado\Data\SqlMap\TSqlMapManager;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
-Prado::using('System.Data.Common.TDbCommandBuilder');
/**
* TPreparedCommand class.
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index 299c57ff..6f422291 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -17,7 +17,6 @@ use Prado\Prado;
use Prado\TApplicationMode;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDataSourceConfig');
/**
* TSqlMapConfig module configuration class.
@@ -67,7 +66,6 @@ class TSqlMapConfig extends TDataSourceConfig
* @since 3.1.7
*/
public function getSqlMapManager() {
- Prado::using('System.Data.SqlMap.TSqlMapManager');
if(($manager = $this->loadCachedSqlMapManager())===null)
{
$manager = new TSqlMapManager($this->getDbConnection());
diff --git a/framework/Data/SqlMap/TSqlMapGateway.php b/framework/Data/SqlMap/TSqlMapGateway.php
index b52fda86..18927488 100644
--- a/framework/Data/SqlMap/TSqlMapGateway.php
+++ b/framework/Data/SqlMap/TSqlMapGateway.php
@@ -14,7 +14,6 @@ namespace Prado\Data\SqlMap;
use Prado\Data\SqlMap\DataMapper\TSqlMapPagedList;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.TSqlMapManager');
/**
* DataMapper client, a fascade to provide access the rest of the DataMapper
diff --git a/framework/Data/SqlMap/TSqlMapManager.php b/framework/Data/SqlMap/TSqlMapManager.php
index e1331bef..f55afe14 100644
--- a/framework/Data/SqlMap/TSqlMapManager.php
+++ b/framework/Data/SqlMap/TSqlMapManager.php
@@ -24,15 +24,6 @@ use Prado\Data\SqlMap\DataMapper\TSqlMapUndefinedException;
use Prado\Data\SqlMap\Statements\IMappedStatement;
use Prado\Prado;
-Prado::using('System.Data.SqlMap.TSqlMapGateway');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapException');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapTypeHandlerRegistry');
-Prado::using('System.Data.SqlMap.DataMapper.TSqlMapCache');
-Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
-Prado::using('System.Data.SqlMap.Configuration.*');
-Prado::using('System.Data.SqlMap.DataMapper.*');
-Prado::using('System.Data.SqlMap.Statements.*');
-Prado::using('System.Caching.TCache');
/**
diff --git a/framework/Data/TDataSourceConfig.php b/framework/Data/TDataSourceConfig.php
index b9c11b54..c29dfd9e 100644
--- a/framework/Data/TDataSourceConfig.php
+++ b/framework/Data/TDataSourceConfig.php
@@ -15,8 +15,6 @@ use Prado\Exceptions\TConfigurationException;
use Prado\Prado;
use Prado\TApplication;
-Prado::using('System.Data.TDbConnection');
-
/**
* TDataSourceConfig module class provides <module> configuration for database connections.
*
diff --git a/framework/Data/TDbConnection.php b/framework/Data/TDbConnection.php
index e807d618..4a46daa3 100644
--- a/framework/Data/TDbConnection.php
+++ b/framework/Data/TDbConnection.php
@@ -18,8 +18,6 @@ use Prado\Exceptions\TDbException;
use Prado\Prado;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDbTransaction');
-Prado::using('System.Data.TDbCommand');
/**
* TDbConnection class
@@ -441,7 +439,6 @@ class TDbConnection extends \Prado\TComponent
{
if($this->_dbMeta===null)
{
- Prado::using('System.Data.Common.TDbMetaData');
$this->_dbMeta = TDbMetaData::getInstance($this);
}
return $this->_dbMeta;
diff --git a/framework/Data/TDbTransaction.php b/framework/Data/TDbTransaction.php
index 0226b4ba..bc66c1c9 100644
--- a/framework/Data/TDbTransaction.php
+++ b/framework/Data/TDbTransaction.php
@@ -15,7 +15,6 @@ use Prado\Exceptions\TDbException;
use Prado\Prado;
use Prado\TPropertyValue;
-Prado::using('System.Data.TDbDataReader');
/**
* TDbTransaction class.
diff --git a/framework/I18N/TChoiceFormat.php b/framework/I18N/TChoiceFormat.php
index 830ab3ef..8b820531 100644
--- a/framework/I18N/TChoiceFormat.php
+++ b/framework/I18N/TChoiceFormat.php
@@ -17,8 +17,6 @@ namespace Prado\I18N;
use Prado\I18N\core\ChoiceFormat;
use Prado\Prado;
-Prado::using('System.I18N.core.ChoiceFormat');
-Prado::using('System.I18N.TTranslate');
/**
* TChoiceFormat class.
diff --git a/framework/I18N/TDateFormat.php b/framework/I18N/TDateFormat.php
index 48e1ae75..11a473f1 100644
--- a/framework/I18N/TDateFormat.php
+++ b/framework/I18N/TDateFormat.php
@@ -17,12 +17,10 @@ namespace Prado\I18N;
use Prado\I18N\core\DateFormat;
use Prado\Prado;
-Prado::using('System.I18N.core.DateFormat');
/**
* Get the parent control class.
*/
-Prado::using('System.I18N.TI18NControl');
/**
* To format dates and/or time according to the current locale use
diff --git a/framework/I18N/TNumberFormat.php b/framework/I18N/TNumberFormat.php
index c452ad56..7b114afb 100644
--- a/framework/I18N/TNumberFormat.php
+++ b/framework/I18N/TNumberFormat.php
@@ -18,12 +18,10 @@ use Prado\Exceptions\TInvalidDataValueException;
use Prado\I18N\core\NumberFormat;
use Prado\Prado;
-Prado::using('System.I18N.core.NumberFormat');
/**
* Get the parent control class.
*/
-Prado::using('System.I18N.TI18NControl');
/**
* To format numbers in locale sensitive manner use
diff --git a/framework/I18N/TTranslate.php b/framework/I18N/TTranslate.php
index a4c8d7ce..9d4ffb2b 100644
--- a/framework/I18N/TTranslate.php
+++ b/framework/I18N/TTranslate.php
@@ -20,7 +20,6 @@ use Prado\Prado;
use Prado\TPropertyValue;
use Prado\Web\UI\TControl;
-Prado::using('System.I18N.TI18NControl');
/**
* TTranslate class.
diff --git a/framework/I18N/Translation.php b/framework/I18N/Translation.php
index 3a58b54b..d26665c6 100644
--- a/framework/I18N/Translation.php
+++ b/framework/I18N/Translation.php
@@ -20,7 +20,6 @@ use Prado\I18N\core\MessageSource;
use Prado\Prado;
use Prado\TPropertyValue;
-Prado::using('System.I18N.core.MessageFormat');
/**
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index acbee859..ec1b8790 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -612,7 +612,6 @@ class PradoBase
*/
public static function varDump($var,$depth=10,$highlight=false)
{
- Prado::using('System.Util.TVarDumper');
return TVarDumper::dump($var,$depth,$highlight);
}
diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php
index d5847d61..bfec6996 100644
--- a/framework/Util/TLogRouter.php
+++ b/framework/Util/TLogRouter.php
@@ -17,7 +17,6 @@ use Prado\Prado;
use Prado\TApplication;
use Prado\Xml\TXmlDocument;
-Prado::using('System.Data.TDbConnection');
/**
* TLogRouter class.
diff --git a/framework/Vendor/SafeHtml/TSafeHtmlParser.php b/framework/Vendor/SafeHtml/TSafeHtmlParser.php
index 2c01bde2..8fca8870 100644
--- a/framework/Vendor/SafeHtml/TSafeHtmlParser.php
+++ b/framework/Vendor/SafeHtml/TSafeHtmlParser.php
@@ -21,7 +21,6 @@
*/
Prado::using('System.Vendor.SafeHtml.HTMLSax3');
-
/**
*
* TSafeHtmlParser
diff --git a/framework/Web/Services/TSoapServer.php b/framework/Web/Services/TSoapServer.php
index 9e884a26..1a613d1a 100644
--- a/framework/Web/Services/TSoapServer.php
+++ b/framework/Web/Services/TSoapServer.php
@@ -196,14 +196,12 @@ class TSoapServer extends \Prado\TApplicationComponent
$wsdl=$cache->get(self::WSDL_CACHE_PREFIX.$providerClass);
if(is_string($wsdl))
return $wsdl;
- Prado::using('System.Vendor.WsdlGen.WsdlGenerator');
$wsdl=WsdlGenerator::generate($providerClass, $this->getUri(), $this->getEncoding());
$cache->set(self::WSDL_CACHE_PREFIX.$providerClass,$wsdl);
return $wsdl;
}
else
{
- Prado::using('System.Vendor.WsdlGen.WsdlGenerator');
return WsdlGenerator::generate($providerClass, $this->getUri(), $this->getEncoding());
}
}
diff --git a/framework/Web/TAssetManager.php b/framework/Web/TAssetManager.php
index 0827c265..40bf9765 100644
--- a/framework/Web/TAssetManager.php
+++ b/framework/Web/TAssetManager.php
@@ -353,7 +353,6 @@ class TAssetManager extends \Prado\TModule
throw new TIOException('assetmanager_tarfile_invalid',$path);
else
{
- Prado::using('System.IO.TTarFileExtractor');
$tar = new TTarFileExtractor($fullpath);
return $tar->extract($destination);
}
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
diff --git a/framework/Web/UI/JuiControls/TJuiAutoComplete.php b/framework/Web/UI/JuiControls/TJuiAutoComplete.php
index 3145180f..adad1fd8 100644
--- a/framework/Web/UI/JuiControls/TJuiAutoComplete.php
+++ b/framework/Web/UI/JuiControls/TJuiAutoComplete.php
@@ -21,9 +21,6 @@ use Prado\Web\UI\ActiveControls\TActiveTextBox;
use Prado\Web\UI\INamingContainer;
use Prado\Web\UI\TTemplate;
-Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
-Prado::using('System.Web.UI.ActiveControls.TCallbackEventParameter');
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
/**
* TJuiAutoComplete class.
*
diff --git a/framework/Web/UI/JuiControls/TJuiControlAdapter.php b/framework/Web/UI/JuiControls/TJuiControlAdapter.php
index e1b03afe..1b750dbc 100644
--- a/framework/Web/UI/JuiControls/TJuiControlAdapter.php
+++ b/framework/Web/UI/JuiControls/TJuiControlAdapter.php
@@ -14,7 +14,6 @@ namespace Prado\Web\UI\JuiControls;
use Prado\Prado;
use Prado\Web\UI\ActiveControls\TActiveControlAdapter;
-Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
/**
* TJuiControlAdapter class
diff --git a/framework/Web/UI/JuiControls/TJuiDraggable.php b/framework/Web/UI/JuiControls/TJuiDraggable.php
index 86e5d69c..53dc8a1d 100644
--- a/framework/Web/UI/JuiControls/TJuiDraggable.php
+++ b/framework/Web/UI/JuiControls/TJuiDraggable.php
@@ -16,8 +16,6 @@ use Prado\Web\Javascripts\TJavaScript;
use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiDraggable class.
diff --git a/framework/Web/UI/JuiControls/TJuiDroppable.php b/framework/Web/UI/JuiControls/TJuiDroppable.php
index cec07885..2e915b0a 100644
--- a/framework/Web/UI/JuiControls/TJuiDroppable.php
+++ b/framework/Web/UI/JuiControls/TJuiDroppable.php
@@ -16,8 +16,6 @@ use Prado\Web\Javascripts\TJavaScript;
use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiDroppable class.
diff --git a/framework/Web/UI/JuiControls/TJuiProgressbar.php b/framework/Web/UI/JuiControls/TJuiProgressbar.php
index 8379869a..f15ff900 100644
--- a/framework/Web/UI/JuiControls/TJuiProgressbar.php
+++ b/framework/Web/UI/JuiControls/TJuiProgressbar.php
@@ -16,8 +16,6 @@ use Prado\Web\Javascripts\TJavaScript;
use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiProgressbar class.
diff --git a/framework/Web/UI/JuiControls/TJuiResizable.php b/framework/Web/UI/JuiControls/TJuiResizable.php
index bae005be..a494b707 100644
--- a/framework/Web/UI/JuiControls/TJuiResizable.php
+++ b/framework/Web/UI/JuiControls/TJuiResizable.php
@@ -16,8 +16,6 @@ use Prado\Web\Javascripts\TJavaScript;
use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiResizable class.
diff --git a/framework/Web/UI/JuiControls/TJuiSelectable.php b/framework/Web/UI/JuiControls/TJuiSelectable.php
index 06d251f6..20bb72d7 100644
--- a/framework/Web/UI/JuiControls/TJuiSelectable.php
+++ b/framework/Web/UI/JuiControls/TJuiSelectable.php
@@ -18,8 +18,6 @@ use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
use Prado\Web\UI\TTemplate;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiSelectable class.
diff --git a/framework/Web/UI/JuiControls/TJuiSortable.php b/framework/Web/UI/JuiControls/TJuiSortable.php
index edfb68c0..6c14b6a4 100644
--- a/framework/Web/UI/JuiControls/TJuiSortable.php
+++ b/framework/Web/UI/JuiControls/TJuiSortable.php
@@ -18,8 +18,6 @@ use Prado\Web\UI\ActiveControls\ICallbackEventHandler;
use Prado\Web\UI\ActiveControls\TActivePanel;
use Prado\Web\UI\TTemplate;
-Prado::using('System.Web.UI.JuiControls.TJuiControlAdapter');
-Prado::using('System.Web.UI.ActiveControls.TActivePanel');
/**
* TJuiSortable class.
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index e768f900..17dc7c6b 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -310,7 +310,6 @@ class TPage extends TTemplateControl
*/
protected function processCallbackRequest($writer)
{
- Prado::using('Prado\Web\UI\ActiveControls\TActivePageAdapter');
$this->setAdapter(new TActivePageAdapter($this));
@@ -598,7 +597,6 @@ class TPage extends TTemplateControl
{
if(!$this->_clientScript) {
$className = $classPath = $this->getService()->getClientScriptManagerClass();
- Prado::using($className);
if($className!=='\Prado\Web\UI\TClientScriptManager' && !is_subclass_of($className,'\Prado\Web\UI\TClientScriptManager'))
throw new THttpException(404,'page_csmanagerclass_invalid',$className);
diff --git a/framework/Wsat/TWsatARGenerator.php b/framework/Wsat/TWsatARGenerator.php
index bece0810..09e64b03 100644
--- a/framework/Wsat/TWsatARGenerator.php
+++ b/framework/Wsat/TWsatARGenerator.php
@@ -15,7 +15,6 @@ use Exception;
use PDO;
use Prado\Prado;
-Prado::using("System.Wsat.TWsatBaseGenerator");
class TWsatARGenerator extends TWsatBaseGenerator
{
diff --git a/framework/Wsat/TWsatBaseGenerator.php b/framework/Wsat/TWsatBaseGenerator.php
index 89ffaac5..4f71265f 100644
--- a/framework/Wsat/TWsatBaseGenerator.php
+++ b/framework/Wsat/TWsatBaseGenerator.php
@@ -16,7 +16,6 @@ use Prado\Data\ActiveRecord\TActiveRecordManager;
use Prado\Data\Common\TDbMetaData;
use Prado\Prado;
-Prado::using('System.Data.Common.TDbMetaData');
class TWsatBaseGenerator
{
diff --git a/framework/Wsat/TWsatScaffoldingGenerator.php b/framework/Wsat/TWsatScaffoldingGenerator.php
index 4b8b3adb..1c2d0a9a 100644
--- a/framework/Wsat/TWsatScaffoldingGenerator.php
+++ b/framework/Wsat/TWsatScaffoldingGenerator.php
@@ -13,7 +13,6 @@ namespace Prado\Wsat;
use Prado\Prado;
-Prado::using("System.Wsat.TWsatBaseGenerator");
class TWsatScaffoldingGenerator extends TWsatBaseGenerator
{
diff --git a/framework/Wsat/pages/TWsatGenerateAR.php b/framework/Wsat/pages/TWsatGenerateAR.php
index 2d77d63d..2aaf3f2b 100644
--- a/framework/Wsat/pages/TWsatGenerateAR.php
+++ b/framework/Wsat/pages/TWsatGenerateAR.php
@@ -17,7 +17,6 @@ use Prado\Prado;
use Prado\Web\UI\TPage;
use Prado\Wsat\TWsatARGenerator;
-Prado::using("System.Wsat.TWsatARGenerator");
class TWsatGenerateAR extends TPage
{
diff --git a/framework/Wsat/pages/TWsatHome.php b/framework/Wsat/pages/TWsatHome.php
index 0c4535f1..797ffbd0 100644
--- a/framework/Wsat/pages/TWsatHome.php
+++ b/framework/Wsat/pages/TWsatHome.php
@@ -14,7 +14,6 @@ namespace Prado\Wsat\pages;
use Prado\Prado;
use Prado\Web\UI\TPage;
-Prado::using("System.Wsat.TWsatARGenerator");
class TWsatHome extends TPage
{
diff --git a/framework/Wsat/pages/TWsatScaffolding.php b/framework/Wsat/pages/TWsatScaffolding.php
index e2d428ee..1e48f1af 100644
--- a/framework/Wsat/pages/TWsatScaffolding.php
+++ b/framework/Wsat/pages/TWsatScaffolding.php
@@ -17,7 +17,6 @@ use Prado\Web\UI\TPage;
use Prado\Web\UI\WebControls\TCheckBox;
use Prado\Wsat\TWsatScaffoldingGenerator;
-Prado::using("System.Wsat.TWsatScaffoldingGenerator");
class TWsatScaffolding extends TPage
{