Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/managers/cache_manager.php
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Line(s) | |||||
$empty_cache[$cache_key] = Array (); | $empty_cache[$cache_key] = Array (); | ||||
} | } | ||||
$this->Application->setFromCache($empty_cache); | $this->Application->setFromCache($empty_cache); | ||||
$this->setFromCache($empty_cache); | $this->setFromCache($empty_cache); | ||||
// otherwise ModulesHelper indirectly used from includeConfigFiles won't work | // otherwise ModulesHelper indirectly used from includeConfigFiles won't work | ||||
$this->Application->RegisterDefaultClasses(); | $this->Application->RegisterDefaultClasses(); | ||||
$this->Application->RegisterDefaultBuildEvents(); | |||||
} | } | ||||
/** | /** | ||||
* Updates data, that was parsed from unit configs this time | * Updates data, that was parsed from unit configs this time | ||||
* | * | ||||
* @access public | * @access public | ||||
*/ | */ | ||||
public function UpdateUnitCache() | public function UpdateUnitCache() | ||||
▲ Show 20 Lines • Show All 513 Lines • ▼ Show 20 Line(s) | |||||
$this->setCache('filenames' . $serial_name, $category_data['NamedParentPath']); | $this->setCache('filenames' . $serial_name, $category_data['NamedParentPath']); | ||||
$this->setCache('category_designs' . $serial_name, ltrim($category_data['CachedTemplate'], '/')); | $this->setCache('category_designs' . $serial_name, ltrim($category_data['CachedTemplate'], '/')); | ||||
$this->setCache('category_tree' . $serial_name, $category_data['TreeLeft'] . ';' . $category_data['TreeRight']); | $this->setCache('category_tree' . $serial_name, $category_data['TreeLeft'] . ';' . $category_data['TreeRight']); | ||||
} | } | ||||
} | } | ||||
return $this->getCache($cache_key); | return $this->getCache($cache_key); | ||||
} | } | ||||
} | } | ||||
No newline at end of file |