private static function LoadMounts()
 {
     if (!self::$m_spells) {
         self::LoadSpells();
     }
     $category = WoW_Template::GetPageData('category');
     if ($category == null) {
         $category = 'companion';
         WoW_Template::SetPageData('category', $category);
     }
     $type = 0;
     switch ($category) {
         case 'mount':
             $type = 1;
             break;
         case 'companion':
             $type = 2;
             break;
     }
     if ($type == 0) {
         WoW_Log::WriteError('%s : unknown mount type (type: %d, category: %s)!', __METHOD__, $type, $category);
         return false;
     }
     self::$m_mounts = DB::WoW()->select("SELECT `spell`, `type`, `name_%s` AS `name`, `mount_type`, `icon`, `quality`, `npc_id`, `item_id`, `source`, `source_%s` AS `sourceText` FROM `DBPREFIX_mounts` WHERE `type` = %d ORDER BY `quality` DESC, `name_%s` ASC", WoW_Locale::GetLocale(), WoW_Locale::GetLocale(), $type, WoW_Locale::GetLocale());
 }