summaryrefslogtreecommitdiff
path: root/framework/Wsat/pages/TWsatScaffolding.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Wsat/pages/TWsatScaffolding.php')
-rw-r--r--framework/Wsat/pages/TWsatScaffolding.php6
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)