public static getCacheBuilder ( ) : |
||
Résultat |
/** * Get the navigation-items * * @param string $language The language wherefore the keys should be loaded, * if not provided we will load the language that was provided in the URL. * @return array */ public static function getNavigation($language = null) { $language = $language !== null ? (string) $language : FRONTEND_LANGUAGE; return BackendPagesModel::getCacheBuilder()->getNavigation($language); }
/** * Get the navigation-items * * @param string $language The language to use, if not provided we will use the working language. * @return array */ public static function getNavigation($language = null) { $language = $language !== null ? (string) $language : Language::getWorkingLanguage(); $cacheBuilder = BackendPagesModel::getCacheBuilder(); return $cacheBuilder->getNavigation($language); }