From b46b4e7acb00715982a8d3543fb22f5ac64c88fe Mon Sep 17 00:00:00 2001 From: David Date: Sat, 11 Jul 2015 12:31:44 +0200 Subject: Added missing use statements in framework --- framework/Util/TBrowserLogRoute.php | 2 ++ framework/Util/TCallChain.php | 2 ++ framework/Util/TDataFieldAccessor.php | 2 ++ framework/Util/TDateTimeStamp.php | 2 ++ framework/Util/TDbLogRoute.php | 5 +++++ framework/Util/TEmailLogRoute.php | 2 ++ framework/Util/TFileLogRoute.php | 4 ++++ framework/Util/TFirePhpLogRoute.php | 1 + framework/Util/TLogRouter.php | 6 ++++++ framework/Util/TLogger.php | 1 + framework/Util/TParameterModule.php | 7 +++++++ framework/Util/TRpcClient.php | 2 ++ framework/Util/TRpcClientRequestException.php | 1 + framework/Util/TRpcClientResponseException.php | 1 + framework/Util/TSimpleDateFormatter.php | 2 ++ 15 files changed, 40 insertions(+) (limited to 'framework/Util') diff --git a/framework/Util/TBrowserLogRoute.php b/framework/Util/TBrowserLogRoute.php index 7c32de3c..154cab64 100644 --- a/framework/Util/TBrowserLogRoute.php +++ b/framework/Util/TBrowserLogRoute.php @@ -10,6 +10,8 @@ */ namespace Prado\Util; +use Prado\TPropertyValue; +use Prado\Web\THttpUtility; /** * TBrowserLogRoute class. diff --git a/framework/Util/TCallChain.php b/framework/Util/TCallChain.php index 03ce60c0..644658da 100644 --- a/framework/Util/TCallChain.php +++ b/framework/Util/TCallChain.php @@ -9,6 +9,8 @@ */ namespace Prado\Util; +use Prado\Collections\TList; +use Prado\Collections\TListIterator; /** * TCallChain is a recursive event calling mechanism. This class implements diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php index 10bb678e..57145f46 100644 --- a/framework/Util/TDataFieldAccessor.php +++ b/framework/Util/TDataFieldAccessor.php @@ -10,6 +10,8 @@ */ namespace Prado\Util; +use Exception; +use Prado\Exceptions\TInvalidDataValueException; /** * TDataFieldAccessor class diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php index d6ad628d..edda4b9c 100644 --- a/framework/Util/TDateTimeStamp.php +++ b/framework/Util/TDateTimeStamp.php @@ -10,6 +10,8 @@ */ namespace Prado\Util; +use DateTime; +use DateTimeZone; /** * TDateTimeStamp Class diff --git a/framework/Util/TDbLogRoute.php b/framework/Util/TDbLogRoute.php index f78aec88..5cf46fae 100644 --- a/framework/Util/TDbLogRoute.php +++ b/framework/Util/TDbLogRoute.php @@ -10,6 +10,11 @@ */ namespace Prado\Util; +use Exception; +use Prado\Data\TDataSourceConfig; +use Prado\Data\TDbConnection; +use Prado\Exceptions\TConfigurationException; +use Prado\TPropertyValue; /** * TDbLogRoute class diff --git a/framework/Util/TEmailLogRoute.php b/framework/Util/TEmailLogRoute.php index 64c05ef6..15ce666e 100644 --- a/framework/Util/TEmailLogRoute.php +++ b/framework/Util/TEmailLogRoute.php @@ -23,6 +23,8 @@ namespace Prado\Util; * @package Prado\Util * @since 3.0 */ +use Prado\Exceptions\TConfigurationException; + /** * TEmailLogRoute class. * diff --git a/framework/Util/TFileLogRoute.php b/framework/Util/TFileLogRoute.php index 19fcd9b4..d7f309ee 100644 --- a/framework/Util/TFileLogRoute.php +++ b/framework/Util/TFileLogRoute.php @@ -10,6 +10,10 @@ */ namespace Prado\Util; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidDataValueException; +use Prado\Prado; +use Prado\TPropertyValue; /** * TFileLogRoute class. diff --git a/framework/Util/TFirePhpLogRoute.php b/framework/Util/TFirePhpLogRoute.php index 81ec2ede..debab321 100644 --- a/framework/Util/TFirePhpLogRoute.php +++ b/framework/Util/TFirePhpLogRoute.php @@ -10,6 +10,7 @@ */ namespace Prado\Util; +use Prado\Prado; /** * TFirePhpLogRoute class. diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index 2b2106f1..d5847d61 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -11,6 +11,12 @@ namespace Prado\Util; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidDataTypeException; +use Prado\Prado; +use Prado\TApplication; +use Prado\Xml\TXmlDocument; + Prado::using('System.Data.TDbConnection'); /** diff --git a/framework/Util/TLogger.php b/framework/Util/TLogger.php index 556e8a73..17427fe7 100644 --- a/framework/Util/TLogger.php +++ b/framework/Util/TLogger.php @@ -10,6 +10,7 @@ */ namespace Prado\Util; +use Prado\Web\UI\TControl; /** * TLogger class. diff --git a/framework/Util/TParameterModule.php b/framework/Util/TParameterModule.php index 4cb26c7d..896aa3f9 100644 --- a/framework/Util/TParameterModule.php +++ b/framework/Util/TParameterModule.php @@ -10,6 +10,13 @@ */ namespace Prado\Util; +use Prado\Caching\TFileCacheDependency; +use Prado\Exceptions\TConfigurationException; +use Prado\Exceptions\TInvalidOperationException; +use Prado\Prado; +use Prado\TApplication; +use Prado\Xml\TXmlDocument; +use Prado\Xml\TXmlElement; /** * TParameterModule class diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php index 15d29955..73b7638d 100644 --- a/framework/Util/TRpcClient.php +++ b/framework/Util/TRpcClient.php @@ -9,6 +9,8 @@ */ namespace Prado\Util; +use Prado\Exceptions\TApplicationException; +use Prado\TPropertyValue; /** * TRpcClient class diff --git a/framework/Util/TRpcClientRequestException.php b/framework/Util/TRpcClientRequestException.php index 0c18e8ad..42a7eb9d 100644 --- a/framework/Util/TRpcClientRequestException.php +++ b/framework/Util/TRpcClientRequestException.php @@ -9,6 +9,7 @@ */ namespace Prado\Util; +use Prado\Exceptions\TApplicationException; /** * TRpcClientRequestException class diff --git a/framework/Util/TRpcClientResponseException.php b/framework/Util/TRpcClientResponseException.php index afc4116d..7139f010 100644 --- a/framework/Util/TRpcClientResponseException.php +++ b/framework/Util/TRpcClientResponseException.php @@ -9,6 +9,7 @@ */ namespace Prado\Util; +use Prado\Exceptions\TApplicationException; /** * TRpcClientResponseException class diff --git a/framework/Util/TSimpleDateFormatter.php b/framework/Util/TSimpleDateFormatter.php index 5577e0e5..448c5aa7 100644 --- a/framework/Util/TSimpleDateFormatter.php +++ b/framework/Util/TSimpleDateFormatter.php @@ -10,6 +10,8 @@ */ namespace Prado\Util; +use Prado\Exceptions\TInvalidDataValueException; +use Prado\Prado; /** * TSimpleDateFormatter class. -- cgit v1.2.3