From 67d7b1bd4bb020f0b948f1a67a8e98f42d28928f Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 21 Jan 2015 09:33:13 +0100 Subject: Add namespaces: framework/*.php, Util, Wsat, Xml --- framework/Util/TBehavior.php | 4 +++- framework/Util/TBrowserLogRoute.php | 6 ++++-- framework/Util/TCallChain.php | 4 +++- framework/Util/TClassBehavior.php | 4 +++- framework/Util/TDataFieldAccessor.php | 6 ++++-- framework/Util/TDateTimeStamp.php | 6 ++++-- framework/Util/TDbLogRoute.php | 6 ++++-- framework/Util/TEmailLogRoute.php | 8 +++++--- framework/Util/TFileLogRoute.php | 6 ++++-- framework/Util/TFirePhpLogRoute.php | 6 ++++-- framework/Util/TFirebugLogRoute.php | 6 ++++-- framework/Util/TJsonRpcClient.php | 6 ++++-- framework/Util/TLogRoute.php | 6 ++++-- framework/Util/TLogRouter.php | 6 ++++-- framework/Util/TLogger.php | 6 ++++-- framework/Util/TParameterModule.php | 6 ++++-- framework/Util/TRpcClient.php | 5 +++-- framework/Util/TRpcClientRequestException.php | 6 ++++-- framework/Util/TRpcClientResponseException.php | 6 ++++-- framework/Util/TRpcClientTypesEnumerable.php | 6 ++++-- framework/Util/TSimpleDateFormatter.php | 6 ++++-- framework/Util/TVarDumper.php | 6 ++++-- framework/Util/TXmlRpcClient.php | 6 ++++-- 23 files changed, 89 insertions(+), 44 deletions(-) (limited to 'framework/Util') diff --git a/framework/Util/TBehavior.php b/framework/Util/TBehavior.php index 56a81a87..83a24b75 100644 --- a/framework/Util/TBehavior.php +++ b/framework/Util/TBehavior.php @@ -8,10 +8,12 @@ * @license http://www.yiiframework.com/license/ */ +namespace Prado\Util; + /** * TBehavior is a convenient base class for behavior classes. * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.2.3 */ class TBehavior extends TComponent implements IBehavior diff --git a/framework/Util/TBrowserLogRoute.php b/framework/Util/TBrowserLogRoute.php index 047b393f..7c32de3c 100644 --- a/framework/Util/TBrowserLogRoute.php +++ b/framework/Util/TBrowserLogRoute.php @@ -6,16 +6,18 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TBrowserLogRoute class. * * TBrowserLogRoute prints selected log messages in the response. * * @author Xiang Wei Zhuo - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TBrowserLogRoute extends TLogRoute diff --git a/framework/Util/TCallChain.php b/framework/Util/TCallChain.php index a6d99a61..03ce60c0 100644 --- a/framework/Util/TCallChain.php +++ b/framework/Util/TCallChain.php @@ -8,12 +8,14 @@ * @license http://www.pradosoft.com/license/ */ +namespace Prado\Util; + /** * TCallChain is a recursive event calling mechanism. This class implements * the {@link IDynamicMethods} class so that any 'dy' event calls can be caught * and patched through to the intended recipient * @author Brad Anderson - * @package System.Util + * @package Prado\Util * @since 3.2.3 */ class TCallChain extends TList implements IDynamicMethods diff --git a/framework/Util/TClassBehavior.php b/framework/Util/TClassBehavior.php index 03ea0c57..113c9c68 100644 --- a/framework/Util/TClassBehavior.php +++ b/framework/Util/TClassBehavior.php @@ -8,10 +8,12 @@ * @license http://www.pradosoft.com/license/ */ +namespace Prado\Util; + /** * TClassBehavior is a convenient base class for whole class behaviors. * @author Brad Anderson - * @package System.Util + * @package Prado\Util * @since 3.2.3 */ class TClassBehavior extends TComponent implements IClassBehavior diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php index 1bead02e..35ae5228 100644 --- a/framework/Util/TDataFieldAccessor.php +++ b/framework/Util/TDataFieldAccessor.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TDataFieldAccessor class * @@ -25,7 +27,7 @@ * then field 'MyValue.MySubValue' will return that method call result. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TDataFieldAccessor diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php index 6db04392..d6ad628d 100644 --- a/framework/Util/TDateTimeStamp.php +++ b/framework/Util/TDateTimeStamp.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TDateTimeStamp Class * @@ -19,7 +21,7 @@ * julian dates anymore. * * @author Fabio Bas ctrlaltca[AT]gmail[DOT]com - * @package System.Util + * @package Prado\Util * @since 3.0.4 * @deprecated since 3.2.1 */ diff --git a/framework/Util/TDbLogRoute.php b/framework/Util/TDbLogRoute.php index 9c2c6e31..f78aec88 100644 --- a/framework/Util/TDbLogRoute.php +++ b/framework/Util/TDbLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TDbLogRoute class * @@ -31,7 +33,7 @@ * * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.1.2 */ class TDbLogRoute extends TLogRoute diff --git a/framework/Util/TEmailLogRoute.php b/framework/Util/TEmailLogRoute.php index 11a8d292..64c05ef6 100644 --- a/framework/Util/TEmailLogRoute.php +++ b/framework/Util/TEmailLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TEmailLogRoute class. * @@ -18,7 +20,7 @@ * {@link setSentFrom SentFrom} address. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ /** @@ -30,7 +32,7 @@ * {@link setSentFrom SentFrom} address. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TEmailLogRoute extends TLogRoute diff --git a/framework/Util/TFileLogRoute.php b/framework/Util/TFileLogRoute.php index 9191235d..19fcd9b4 100644 --- a/framework/Util/TFileLogRoute.php +++ b/framework/Util/TFileLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TFileLogRoute class. * @@ -22,7 +24,7 @@ * specifies how many files to be kept. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TFileLogRoute extends TLogRoute diff --git a/framework/Util/TFirePhpLogRoute.php b/framework/Util/TFirePhpLogRoute.php index 0ac19f95..371ebcc8 100644 --- a/framework/Util/TFirePhpLogRoute.php +++ b/framework/Util/TFirePhpLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TFirePhpLogRoute class. * @@ -18,7 +20,7 @@ * {@link http://www.firephp.org/ FirePHP Website} * * @author Yves Berkholz - * @package System.Util + * @package Prado\Util * @since 3.1.5 */ class TFirePhpLogRoute extends TLogRoute diff --git a/framework/Util/TFirebugLogRoute.php b/framework/Util/TFirebugLogRoute.php index 4493e6f6..53b6d9cd 100644 --- a/framework/Util/TFirebugLogRoute.php +++ b/framework/Util/TFirebugLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TFirebugLogRoute class. * @@ -17,7 +19,7 @@ * {@link http://www.getfirebug.com/ FireBug Website} * * @author Enrico Stahn , Christophe Boulain - * @package System.Util + * @package Prado\Util * @since 3.1.2 */ class TFirebugLogRoute extends TBrowserLogRoute diff --git a/framework/Util/TJsonRpcClient.php b/framework/Util/TJsonRpcClient.php index 1a8dbba4..ca7e0fc3 100644 --- a/framework/Util/TJsonRpcClient.php +++ b/framework/Util/TJsonRpcClient.php @@ -5,9 +5,11 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TJsonRpcClient class * @@ -24,7 +26,7 @@ * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ diff --git a/framework/Util/TLogRoute.php b/framework/Util/TLogRoute.php index 10222c01..9a2d5699 100644 --- a/framework/Util/TLogRoute.php +++ b/framework/Util/TLogRoute.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TLogRoute class. * @@ -27,7 +29,7 @@ * satisfying both filter conditions will they be returned. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ abstract class TLogRoute extends TApplicationComponent diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index ce61b4a4..cbbfc434 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + Prado::using('System.Data.TDbConnection'); /** @@ -35,7 +37,7 @@ Prado::using('System.Data.TDbConnection'); * * @author Qiang Xue * @author Carl G. Mathisen - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TLogRouter extends TModule diff --git a/framework/Util/TLogger.php b/framework/Util/TLogger.php index 6fd12ccf..2397704f 100644 --- a/framework/Util/TLogger.php +++ b/framework/Util/TLogger.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TLogger class. * @@ -17,7 +19,7 @@ * log categories, and by control. * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TLogger extends TComponent diff --git a/framework/Util/TParameterModule.php b/framework/Util/TParameterModule.php index 84616c63..1ca1a5cf 100644 --- a/framework/Util/TParameterModule.php +++ b/framework/Util/TParameterModule.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TParameterModule class * @@ -40,7 +42,7 @@ * * @author Qiang Xue * @author Carl G. Mathisen - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TParameterModule extends TModule diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php index ec0da4e2..0b78906d 100644 --- a/framework/Util/TRpcClient.php +++ b/framework/Util/TRpcClient.php @@ -5,9 +5,10 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; /** * TRpcClient class @@ -41,7 +42,7 @@ * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ diff --git a/framework/Util/TRpcClientRequestException.php b/framework/Util/TRpcClientRequestException.php index ce0cc53a..e55947c8 100644 --- a/framework/Util/TRpcClientRequestException.php +++ b/framework/Util/TRpcClientRequestException.php @@ -5,9 +5,11 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TRpcClientRequestException class * @@ -16,7 +18,7 @@ * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ diff --git a/framework/Util/TRpcClientResponseException.php b/framework/Util/TRpcClientResponseException.php index 010e4b81..1e0dc1ac 100644 --- a/framework/Util/TRpcClientResponseException.php +++ b/framework/Util/TRpcClientResponseException.php @@ -5,9 +5,11 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TRpcClientResponseException class * @@ -15,7 +17,7 @@ * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ diff --git a/framework/Util/TRpcClientTypesEnumerable.php b/framework/Util/TRpcClientTypesEnumerable.php index 506c4fce..eedca24c 100644 --- a/framework/Util/TRpcClientTypesEnumerable.php +++ b/framework/Util/TRpcClientTypesEnumerable.php @@ -5,15 +5,17 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TRpcClientTypesEnumerable class * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ diff --git a/framework/Util/TSimpleDateFormatter.php b/framework/Util/TSimpleDateFormatter.php index 18e71529..5577e0e5 100644 --- a/framework/Util/TSimpleDateFormatter.php +++ b/framework/Util/TSimpleDateFormatter.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TSimpleDateFormatter class. * @@ -39,7 +41,7 @@ * * * @author Wei Zhuo - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TSimpleDateFormatter diff --git a/framework/Util/TVarDumper.php b/framework/Util/TVarDumper.php index c89b205a..1040ca92 100644 --- a/framework/Util/TVarDumper.php +++ b/framework/Util/TVarDumper.php @@ -6,9 +6,11 @@ * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TVarDumper class. * @@ -23,7 +25,7 @@ * * * @author Qiang Xue - * @package System.Util + * @package Prado\Util * @since 3.0 */ class TVarDumper diff --git a/framework/Util/TXmlRpcClient.php b/framework/Util/TXmlRpcClient.php index de11d6a2..71c58a10 100644 --- a/framework/Util/TXmlRpcClient.php +++ b/framework/Util/TXmlRpcClient.php @@ -5,9 +5,11 @@ * @copyright 2010 Bigpoint GmbH * @license http://www.pradosoft.com/license/ * @since 3.2 - * @package System.Util + * @package Prado\Util */ +namespace Prado\Util; + /** * TXmlRpcClient class * @@ -22,7 +24,7 @@ * * @author Robin J. Rogge * @version $Id$ - * @package System.Util + * @package Prado\Util * @since 3.2 */ -- cgit v1.2.3