diff options
author | Daniel <darthdaniel85@gmail.com> | 2015-01-27 15:32:51 -0500 |
---|---|---|
committer | Daniel <darthdaniel85@gmail.com> | 2015-01-27 15:32:51 -0500 |
commit | 7f22a44867fdf10d2383595e6467923fd11e2b89 (patch) | |
tree | e6122d8ada3799ff042cf5f7ac236e367645efc2 /framework/Wsat/pages/TWsatScaffolding.php | |
parent | 7b843cc7df910a218272f328293f2541d53c23b2 (diff) |
Scaffolding 20%
Diffstat (limited to 'framework/Wsat/pages/TWsatScaffolding.php')
-rw-r--r-- | framework/Wsat/pages/TWsatScaffolding.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/Wsat/pages/TWsatScaffolding.php b/framework/Wsat/pages/TWsatScaffolding.php index 2dc7d288..aa7599ca 100644 --- a/framework/Wsat/pages/TWsatScaffolding.php +++ b/framework/Wsat/pages/TWsatScaffolding.php @@ -35,6 +35,10 @@ class TWsatScaffolding extends TPage } } + /** + * Generate Scaffolding code for selected tables + * @param type $sender + */ public function generate($sender) { if ($this->IsValid) @@ -43,7 +47,7 @@ class TWsatScaffolding extends TPage { $scf_generator = new TWsatScaffoldingGenerator(); $scf_generator->setOpFile($this->output_folder->Text); - $scf_generator->generate(); + $scf_generator->generateCRUD("estudiante"); $this->feedback_panel->CssClass = "green_panel"; $this->generation_msg->Text = "The code has been generated successfully."; } catch (Exception $ex) |