예제 #1
0
 /**
  * Get a list of user types.
  * 
  * @return array|false
  */
 protected function getUserTypes()
 {
     $types = $this->users->getUserTypes();
     $strings = [];
     foreach ($types as $type) {
         if (!empty($type)) {
             $strings[$type] = Lang::get('c::user.usertypes-' . $type);
         }
     }
     return $strings;
 }