blob: 754cac5c49ccce0030fa9cb196511d9eee35a1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
/**
* Description of Inicio
*
* @author daniels
*/
Prado::using("System.Wsat.TWsatARGenerator");
class TWsatGenerateAR extends TPage {
public function onInit($param) {
parent::onInit($param);
}
public function generate($sender) {
$table_name = $this->table_name->Text;
$ar_generator = new TWsatARGenerator();
if ($table_name != "*") {
$ar_generator->generate($table_name);
} else {
$ar_generator->generateAll();
}
}
public function preview($sender) {
}
}
?>
|