Ejemplo n.º 1
0
 public static function get_list_columns()
 {
     $cols = parent::get_list_columns();
     array_push($cols, array("name" => Language::string(488), "property" => "format_open", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => true, "width" => 120, "show" => true));
     array_push($cols, array("name" => Language::string(335), "property" => "session_count", "searchable" => true, "sortable" => true, "type" => "number", "groupable" => false, "width" => 120, "show" => true));
     return $cols;
 }
Ejemplo n.º 2
0
 public static function get_list_columns()
 {
     $cols = parent::get_list_columns();
     array_push($cols, array("name" => Language::string(173), "property" => "login", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => false, "show" => true));
     array_push($cols, array("name" => Language::string(174), "property" => "email", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => true, "show" => true));
     array_push($cols, array("name" => Language::string(175), "property" => "get_last_login", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => false, "show" => true));
     array_push($cols, array("name" => Language::string(335), "property" => "get_session_count", "searchable" => true, "sortable" => true, "type" => "number", "groupable" => false, "width" => 120, "show" => true));
     for ($i = 0; $i < count($cols); $i++) {
         if ($cols[$i]["property"] == "name") {
             array_splice($cols, $i, 1);
             $i--;
         }
     }
     return $cols;
 }