diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /framework/TShellApplication.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'framework/TShellApplication.php')
-rw-r--r-- | framework/TShellApplication.php | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/framework/TShellApplication.php b/framework/TShellApplication.php index 30fb3029..bb847c0b 100644 --- a/framework/TShellApplication.php +++ b/framework/TShellApplication.php @@ -1,48 +1,48 @@ -<?php
-/**
- * TShellApplication class file
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2012 PradoSoft
- * @license http://www.pradosoft.com/license/
- * @version $Id$
- * @package System
- */
-
-/**
- * TShellApplication class.
- *
- * TShellApplication is the base class for developing command-line PRADO
- * tools that share the same configurations as their Web application counterparts.
- *
- * A typical usage of TShellApplication in a command-line PHP script is as follows:
- * <code>
- * require_once('path/to/prado.php');
- * $application=new TShellApplication('path/to/application.xml');
- * $application->run();
- * // perform command-line tasks here
- * </code>
- *
- * Since the application instance has access to all configurations, including
- * path aliases, modules and parameters, the command-line script has nearly the same
- * accessibility to resources as the PRADO Web applications.
- *
- * @author Qiang Xue <qiang.xue@gmail.com>
- * @version $Id$
- * @package System
- * @since 3.1.0
- */
-class TShellApplication extends TApplication
-{
- /**
- * Runs the application.
- * This method overrides the parent implementation by initializing
- * application with configurations specified when it is created.
- */
- public function run()
- {
- $this->initApplication();
- }
-}
-
+<?php +/** + * TShellApplication class file + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2012 PradoSoft + * @license http://www.pradosoft.com/license/ + * @version $Id$ + * @package System + */ + +/** + * TShellApplication class. + * + * TShellApplication is the base class for developing command-line PRADO + * tools that share the same configurations as their Web application counterparts. + * + * A typical usage of TShellApplication in a command-line PHP script is as follows: + * <code> + * require_once('path/to/prado.php'); + * $application=new TShellApplication('path/to/application.xml'); + * $application->run(); + * // perform command-line tasks here + * </code> + * + * Since the application instance has access to all configurations, including + * path aliases, modules and parameters, the command-line script has nearly the same + * accessibility to resources as the PRADO Web applications. + * + * @author Qiang Xue <qiang.xue@gmail.com> + * @version $Id$ + * @package System + * @since 3.1.0 + */ +class TShellApplication extends TApplication +{ + /** + * Runs the application. + * This method overrides the parent implementation by initializing + * application with configurations specified when it is created. + */ + public function run() + { + $this->initApplication(); + } +} + |