function __construct($id = 7)
 {
     $fpp = new fpp_paybank_Model();
     $orm = $fpp->db2cls($id);
     $this->title = $orm->title_paybank;
     $this->description = $orm->description_paybank;
 }
 function __construct($id = 1)
 {
     $fpp = new fpp_paybank_Model();
     $orm = $fpp->db2cls($id);
     $title_paybank = Basic::TransVar("title_paybank");
     var_dump($title_paybank);
     $description_paybank = Basic::TransVar("description_paybank");
     $this->title = $orm->{$title_paybank};
     $this->description = $orm->{$description_paybank};
 }
 public function GetPay()
 {
     $ret = null;
     $fpp = new fpp_paybank_Model();
     $orm = $fpp->db2cls();
     $data = $orm->fetch_all();
     foreach ($data as $row) {
         $title_paybank = Basic::TransVar("title_paybank");
         $description_paybank = Basic::TransVar("description_paybank");
         $module = 'Pay_paybank' . $row->id_paybank;
         $check = @$_POST['payment'] == $module ? true : false;
         $ret .= View::factory("base")->set('title', $row->{$title_paybank})->set('description', $row->{$description_paybank})->set('module', $module)->set('check', $check)->render();
     }
     return $ret;
 }