Example #1
0
 public function Index()
 {
     Base::$sText .= "<br>Test module finished Ok.<br>";
     $oTable = new Table();
     $oTable->sSql = "select * from test";
     $oTable->aColumn = array('id' => array('sTitle' => 'Id'), 'name' => array('sTitle' => 'Name'), 'code' => array('sTitle' => 'Code'));
     $oTable->sDataTemplate = 'test/row_test.tpl';
     Base::$sText .= $oTable->GetTable();
     $this->Show();
     Base::$sText .= Base::$tpl->fetch('test/index.tpl');
 }