diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:41:46 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:41:46 +0100 |
commit | 7915cde127eba2a5143fd45c6b32e81ad91bdfae (patch) | |
tree | 3f947549b691e6346cbe553e49c55d988bce7855 /framework/Wsat | |
parent | 5d9f6fc77131d75e6c73a7e57df8d967b6b09215 (diff) |
Happy 2014!
Diffstat (limited to 'framework/Wsat')
-rw-r--r-- | framework/Wsat/TWsatARGenerator.php | 16 | ||||
-rw-r--r-- | framework/Wsat/TWsatService.php | 10 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatGenerateAR.php | 2 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatHome.php | 4 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatLogin.php | 2 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatScaffolding.php | 4 |
6 files changed, 19 insertions, 19 deletions
diff --git a/framework/Wsat/TWsatARGenerator.php b/framework/Wsat/TWsatARGenerator.php index 7ae5e46e..c6cef1d5 100644 --- a/framework/Wsat/TWsatARGenerator.php +++ b/framework/Wsat/TWsatARGenerator.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 @@ -43,7 +43,7 @@ class TWsatARGenerator /** * unquote chars - * @var array + * @var array */ private $uqChars = array('[', ']', '"', '`', "'"); @@ -77,7 +77,7 @@ class TWsatARGenerator $this->_classSufix = $_clas_sufix; } -//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- // <editor-fold defaultstate="collapsed" desc="Main APIs"> public function generate($tableName) { @@ -260,10 +260,10 @@ class TWsatARGenerator <?php /** * Auto generated by PRADO - WSAT on $date. - * @author $env_user + * @author $env_user */ -class $classname extends TActiveRecord -{ +class $classname extends TActiveRecord +{ const TABLE='$tablename'; $props @@ -271,9 +271,9 @@ $props public static function finder(\$className=__CLASS__) { return parent::finder(\$className); } - + $relations - + $toString } EOD; diff --git a/framework/Wsat/TWsatService.php b/framework/Wsat/TWsatService.php index 63bfebc7..3796bd48 100644 --- a/framework/Wsat/TWsatService.php +++ b/framework/Wsat/TWsatService.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 @@ -12,15 +12,15 @@ /** * TWsatService class - * + * * Wsat is inspired in both Asp.Net - Web Site Administration Tool(WSAT) and Yii's Gii. * Wsat enables you to generate code saving your time in too many tedious tasks in a GUI fashion. - * + * * Current options: * 1- Generate one or all Active Record Classes from your DataBase. * 1.1- Automatically generate all relations between the AR Classes (new). * 1.2- Automatically generate the __toString() magic method in a smart way (new). - * + * * To use TWsatService, configure it in the application configuration file like following: * <code> * <services> @@ -30,7 +30,7 @@ * </code> * ...and then you need to go to http://localhost/yoursite/index.php?wsat=TWsatLogin * and generate code and configure your site. - * + * * Warning: You should only use Wsat in development mode. */ class TWsatService extends TPageService diff --git a/framework/Wsat/pages/TWsatGenerateAR.php b/framework/Wsat/pages/TWsatGenerateAR.php index f0ce8430..4a3714de 100644 --- a/framework/Wsat/pages/TWsatGenerateAR.php +++ b/framework/Wsat/pages/TWsatGenerateAR.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 diff --git a/framework/Wsat/pages/TWsatHome.php b/framework/Wsat/pages/TWsatHome.php index b5ae1bb4..b4beb07c 100644 --- a/framework/Wsat/pages/TWsatHome.php +++ b/framework/Wsat/pages/TWsatHome.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 @@ -13,5 +13,5 @@ Prado::using("System.Wsat.TWsatARGenerator"); class TWsatHome extends TPage { - + }
\ No newline at end of file diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php index 21994c07..051937d7 100644 --- a/framework/Wsat/pages/TWsatLogin.php +++ b/framework/Wsat/pages/TWsatLogin.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 diff --git a/framework/Wsat/pages/TWsatScaffolding.php b/framework/Wsat/pages/TWsatScaffolding.php index b8e28b03..fe691dd9 100644 --- a/framework/Wsat/pages/TWsatScaffolding.php +++ b/framework/Wsat/pages/TWsatScaffolding.php @@ -3,7 +3,7 @@ /** * @author Daniel Sampedro Bello <darthdaniel85@gmail.com> * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2013 PradoSoft + * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 @@ -13,5 +13,5 @@ Prado::using("System.Wsat.TWsatARGenerator"); class TWsatScaffolding extends TPage { - + }
\ No newline at end of file |