Öffentliche Methoden | |
| cleanCache ($group=false) | |
| & | getCache ($group='') |
Definiert in Zeile 348 der Datei joomla.php.
| mosCache::cleanCache | ( | $ | group = false |
) |
Cleans the cache
Definiert in Zeile 369 der Datei joomla.php.
Benutzt $cache, $mosConfig_caching und getCache().
Wird benutzt von accessMenu(), changeAccess(), changeContent(), changeFrontPage(), changeState(), copyCategorySave(), copyItemSave(), copyMenu(), copyMenuSave(), copyModule(), deleteMenu(), mosMainFrame::login(), mosMainFrame::logout(), menuLink(), moveCategorySave(), moveMenuSave(), moveSectionSave(), orderCategory(), orderContent(), orderFrontPage(), orderMenu(), orderModule(), orderSection(), publishCategories(), publishMenuSection(), publishModule(), publishSections(), removeCategories(), removeContent(), removeFrontPage(), removeModule(), removeSections(), save(), saveCategory(), saveContent(), saveModule(), saveOrder(), saveSection(), toggleFrontPage(), trash() und TrashMenuSection().
00369 { 00370 global $mosConfig_caching; 00371 if ($mosConfig_caching) { 00372 $cache =& mosCache::getCache( $group ); 00373 $cache->clean( $group ); 00374 } 00375 }


| & mosCache::getCache | ( | $ | group = '' |
) |
Definiert in Zeile 352 der Datei joomla.php.
Benutzt $cache, $mosConfig_absolute_path, $mosConfig_caching und $options.
Wird benutzt von cleanCache(), mosLoadAdminModules(), mosLoadModules() und mosShowHead().
00352 { 00353 global $mosConfig_absolute_path, $mosConfig_caching, $mosConfig_cachepath, $mosConfig_cachetime; 00354 00355 require_once( $mosConfig_absolute_path . '/includes/joomla.cache.php' ); 00356 00357 $options = array( 00358 'cacheDir' => $mosConfig_cachepath . '/', 00359 'caching' => $mosConfig_caching, 00360 'defaultGroup' => $group, 00361 'lifeTime' => $mosConfig_cachetime 00362 ); 00363 $cache = new JCache_Lite_Function( $options ); 00364 return $cache; 00365 }
