gehe zur Dokumentation dieser Datei
24 'file' =>
'smarty_internal_cacheresource_file.php',
75 if ($_template->cached->handler->process($_template)) {
77 $_template->properties[
'unifunc']($_template);
79 return ob_get_clean();
93 abstract public function clearAll(
Smarty $smarty, $exp_time = null);
106 abstract public function clear(
Smarty $smarty, $resource_name, $cache_id, $compile_id, $exp_time);
117 $start = microtime(
true);
119 while ($this->
hasLock($smarty, $cached)) {
121 if (microtime(
true) - $start > $smarty->locking_timeout) {
185 $type = $smarty->caching_type;
189 if (isset($smarty->_cacheresource_handlers[$type])) {
190 return $smarty->_cacheresource_handlers[$type];
194 if (isset($smarty->registered_cache_resources[$type])) {
196 return $smarty->_cacheresource_handlers[$type] = $smarty->registered_cache_resources[$type];
199 if (isset(self::$sysplugins[$type])) {
200 $cache_resource_class =
'Smarty_Internal_CacheResource_' . ucfirst($type);
201 if (!class_exists($cache_resource_class,
false)) {
202 require SMARTY_SYSPLUGINS_DIR . self::$sysplugins[$type];
204 return $smarty->_cacheresource_handlers[$type] =
new $cache_resource_class();
207 $cache_resource_class =
'Smarty_CacheResource_' . ucfirst($type);
208 if ($smarty->
loadPlugin($cache_resource_class)) {
209 return $smarty->_cacheresource_handlers[$type] =
new $cache_resource_class();
222 foreach ($smarty->template_objects as $tpl) {
223 if (isset($tpl->cached)) {
224 $tpl->cached->valid =
false;
225 $tpl->cached->processed =
false;
Sie sind hier: Home » MyOOS Benutzerhandbuch » Smarty
Korrekturen, Hinweise und Ergänzungen
Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag
Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.