diff options
author | Daniel <darthdaniel85@gmail.com> | 2013-12-08 00:55:07 -0500 |
---|---|---|
committer | Daniel <darthdaniel85@gmail.com> | 2013-12-08 00:55:07 -0500 |
commit | e04fb5c765252593fb88fb56eaefbdc88bbeb7d1 (patch) | |
tree | dcaa8725486cd33d2813d92543b46323ff99f693 /framework/Wsat/pages | |
parent | f64d3a13f628706bc2f24f420f1e096543bad377 (diff) |
QS Doc completed!
Diffstat (limited to 'framework/Wsat/pages')
-rw-r--r-- | framework/Wsat/pages/TWsatGenerateAR.page | 4 | ||||
-rw-r--r-- | framework/Wsat/pages/TWsatGenerateAR.php | 20 |
2 files changed, 11 insertions, 13 deletions
diff --git a/framework/Wsat/pages/TWsatGenerateAR.page b/framework/Wsat/pages/TWsatGenerateAR.page index b1cd98aa..926d6b0f 100644 --- a/framework/Wsat/pages/TWsatGenerateAR.page +++ b/framework/Wsat/pages/TWsatGenerateAR.page @@ -33,8 +33,8 @@ </div> <div class="form_row"> - <com:TLabel Text="Class Sufix:" ForControl="class_sufix" style="margin-right: 27px"/> - <com:TTextBox ID="class_sufix" CssClass="in_text" /> + <com:TLabel Text="Class Suffix:" ForControl="class_suffix" style="margin-right: 27px"/> + <com:TTextBox ID="class_suffix" CssClass="in_text" /> </div> <div class="form_row"> diff --git a/framework/Wsat/pages/TWsatGenerateAR.php b/framework/Wsat/pages/TWsatGenerateAR.php index c9584038..2c85445d 100644 --- a/framework/Wsat/pages/TWsatGenerateAR.php +++ b/framework/Wsat/pages/TWsatGenerateAR.php @@ -18,23 +18,23 @@ class TWsatGenerateAR extends TPage { if ($this->IsValid) { - $table_name = $this->table_name->Text; - $output_folder_ns = $this->output_folder->Text; - $class_prefix = $this->class_prefix->Text; - $class_sufix = $this->class_sufix->Text; + $tableName = $this->table_name->Text; + $outputFolderNs = $this->output_folder->Text; + $classPrefix = $this->class_prefix->Text; + $classSuffix = $this->class_suffix->Text; try { $ar_generator = new TWsatARGenerator(); - $ar_generator->setOpFile($output_folder_ns); - $ar_generator->setClasPrefix($class_prefix); - $ar_generator->setClassSufix($class_sufix); + $ar_generator->setOpFile($outputFolderNs); + $ar_generator->setClasPrefix($classPrefix); + $ar_generator->setClassSufix($classSuffix); if ($this->build_rel->Checked) $ar_generator->buildRelations(); - if ($table_name != "*") - $ar_generator->generate($table_name); + if ($tableName != "*") + $ar_generator->generate($tableName); else $ar_generator->generateAll(); @@ -51,8 +51,6 @@ class TWsatGenerateAR extends TPage public function preview($sender) { -// $ar_generator = new TWsatARGenerator(); -// $ar_generator->renderAllTablesInformation(); throw new THttpException(500, "Not implemented yet."); } |