/** * Загружает всю таблицу в кеш сразу */ public static function loadAll() { try { // Если есть кеш, то грузим его $getCache = SimpleCache::get(SYSTEM_REGISTER_GET_CACHE); $childCache = SimpleCache::get(SYSTEM_REGISTER_CHILD_CACHE); self::$aGetCache = $getCache; self::$aChildCache = $childCache; return; } catch (SimpleCacheException $e) { } self::createCache(); }