Esempio n. 1
0
 public static function usersList()
 {
     $users = User::all();
     if ($users->count()) {
         $params = array('itemName' => 'fullName');
         $list = array();
         $list = Tools::createItemList($users, $list, $params);
         return $list;
     } else {
         return array();
     }
 }