Ejemplo n.º 1
0
 public function columnTable()
 {
     $array = array("aboutus_id" => array("label" => \Lang::get('core.table_aboutus_id'), "type" => "text", "name" => "aboutus_id", "value" => ""), "aboutus_name" => array("label" => \Lang::get('core.table_name'), "type" => "text", "name" => "aboutus_name", "value" => ""), "status" => array("label" => \Lang::get('core.table_status'), "type" => "radio", "name" => "status", "value" => "", "option" => array("0" => \Lang::get('core.disable'), "1" => \Lang::get('core.enable'))), "created" => array("label" => \Lang::get('core.table_created'), "type" => "date", "name" => "created", "value" => ""));
     return $array;
 }
 public function getRoleName()
 {
     return \Lang::get(\Config::get('admin_user.roles.' . $this->role . '.name'));
 }