예제 #1
0
 public static function GetByIDOrShortName($idOrName, $includeAll = false)
 {
     if (is_numeric($idOrName)) {
         return User::GetByID($idOrName, $includeAll);
     }
     return User::GetByShortName($idOrName, $includeAll);
 }