diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-11-07 15:06:50 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-11-07 15:06:50 +0100 |
commit | 11666237dbdc0eb9e01d5d739994bdd88a551168 (patch) | |
tree | ab061320a2afeaaa428d676d0d46230c8e9fcf78 /framework/Wsat/pages | |
parent | 0749f11251a1bc72a2d24049036e3a24db74cb50 (diff) |
Prepare for release: update (c) year to 2015, version to 3.3
Diffstat (limited to 'framework/Wsat/pages')
-rw-r--r-- | framework/Wsat/pages/TWsatGenerateAR.php | 2 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatHome.php | 2 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatLogin.php | 2 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatScaffolding.php | 13 |
4 files changed, 14 insertions, 5 deletions
diff --git a/framework/Wsat/pages/TWsatGenerateAR.php b/framework/Wsat/pages/TWsatGenerateAR.php index 2e7bab06..a96fec2e 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-2014 PradoSoft + * @copyright Copyright © 2005-2015 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 b4beb07c..838a01ad 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-2014 PradoSoft + * @copyright Copyright © 2005-2015 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 diff --git a/framework/Wsat/pages/TWsatLogin.php b/framework/Wsat/pages/TWsatLogin.php index 7aa90740..dd13515c 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-2014 PradoSoft + * @copyright Copyright © 2005-2015 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 aa7599ca..dd7e40bf 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-2014 PradoSoft + * @copyright Copyright © 2005-2015 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.3 @@ -47,7 +47,16 @@ class TWsatScaffolding extends TPage { $scf_generator = new TWsatScaffoldingGenerator(); $scf_generator->setOpFile($this->output_folder->Text); - $scf_generator->generateCRUD("estudiante"); + foreach ($scf_generator->getAllTableNames() as $tableName) + { + $id = "cb_$tableName"; + $obj = $this->tableNames->findControl($id); + if($obj!==null && $obj->Checked) + { + $scf_generator->generateCRUD($tableName); + } + } + $this->feedback_panel->CssClass = "green_panel"; $this->generation_msg->Text = "The code has been generated successfully."; } catch (Exception $ex) |