예제 #1
0
 public static function createFromSQLWithUser($db_field)
 {
     if (!empty($db_field)) {
         $bot = GameBots::createFromSQL($db_field);
         $bot->user = GameUsers::createFromSQL($db_field);
         return $bot;
     }
     return null;
 }