Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/categories/cache_updater.php
Show First 20 Lines • Show All 218 Lines • ▼ Show 20 Line(s) | |||||
if ( $strict_path && !is_array($strict_path) ) { | if ( $strict_path && !is_array($strict_path) ) { | ||||
$strict_path = explode('|', trim($strict_path, '|')); | $strict_path = explode('|', trim($strict_path, '|')); | ||||
} | } | ||||
$this->StrictPath = $strict_path; | $this->StrictPath = $strict_path; | ||||
} | } | ||||
// cache widely used values to speed up process | // cache widely used values to speed up process | ||||
/** @var kMultiLanguageHelper $ml_helper */ | |||||
$ml_helper = $this->Application->recallObject('kMultiLanguageHelper'); | $ml_helper = $this->Application->recallObject('kMultiLanguageHelper'); | ||||
/* @var $ml_helper kMultiLanguageHelper */ | |||||
$this->languages = $ml_helper->getLanguages(); | $this->languages = $ml_helper->getLanguages(); | ||||
$this->primaryLanguageId = $this->Application->GetDefaultLanguageId(); | $this->primaryLanguageId = $this->Application->GetDefaultLanguageId(); | ||||
foreach ($this->Application->ModuleInfo as $module_name => $module_info) { | foreach ($this->Application->ModuleInfo as $module_name => $module_info) { | ||||
$this->root_prefixes[ $module_info['RootCat'] ] = $module_info['Var']; | $this->root_prefixes[ $module_info['RootCat'] ] = $module_info['Var']; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 317 Lines • Show Last 20 Lines |