dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbx\dbxContent\dbxContentPageCache Class Reference

Static Public Member Functions

static isConfigEnabled ()
static setConfigEnabled (bool $enabled)
static isEnabled ()
static isContentRoute ()
static isPermalinkPageRequest ()
static baseDir ()
static menuVariantFlat (int $flat=1)
static menuVariantLoad (int $deep=9, string $mode='', string $label='')
static currentLng ()
static ensureDirs ()
static purgeLegacyMenuCache ()
 Entfernt den nicht mehr verwendeten Menu-Cache.
static contentPath (int $cid, string $lng)
static permalinkContentPath (string $permalink, string $lng)
static menuPath (int $root, string $lng, string $variant='flat-1')
static pageMetaPath (int $cid)
static readContent (int $cid, string $lng='')
static readPermalinkContent (string $permalink, string $lng='')
static writeContent (int $cid, string $html, array $meta=array(), string $lng='')
static readMenu (int $root, string $variant='flat-1', string $lng='')
static writeMenu (string $html, int $root, string $variant='flat-1', string $lng='')
static readPageMeta (int $cid)
static writePageMeta (int $cid, array $meta)
static invalidateContent (int $cid)
static invalidateMenu (int $root)
static invalidateAllMenus ()
static invalidateSitemap ()
static invalidateAll ()
static cacheStats ()
static invalidateFolderTree ($db, int $folderId)

Detailed Description

Definition at line 6 of file dbxContentPageCache.class.php.

Member Function Documentation

◆ baseDir()

dbx\dbxContent\dbxContentPageCache::baseDir ( )
static

Definition at line 86 of file dbxContentPageCache.class.php.

References $dir.

Referenced by invalidateAllMenus(), pageMetaPath(), and purgeLegacyMenuCache().

◆ cacheStats()

dbx\dbxContent\dbxContentPageCache::cacheStats ( )
static

Definition at line 414 of file dbxContentPageCache.class.php.

References ensureDirs().

◆ contentPath()

dbx\dbxContent\dbxContentPageCache::contentPath ( int $cid,
string $lng )
static

Definition at line 163 of file dbxContentPageCache.class.php.

◆ currentLng()

dbx\dbxContent\dbxContentPageCache::currentLng ( )
static

Definition at line 108 of file dbxContentPageCache.class.php.

Referenced by readPageMeta().

◆ ensureDirs()

dbx\dbxContent\dbxContentPageCache::ensureDirs ( )
static

Definition at line 113 of file dbxContentPageCache.class.php.

References $dir, and foreach.

Referenced by cacheStats().

◆ invalidateAll()

dbx\dbxContent\dbxContentPageCache::invalidateAll ( )
static

Definition at line 372 of file dbxContentPageCache.class.php.

Referenced by dbx\dbxAdmin\dbxPageCache\run().

◆ invalidateAllMenus()

dbx\dbxContent\dbxContentPageCache::invalidateAllMenus ( )
static

Definition at line 356 of file dbxContentPageCache.class.php.

References baseDir(), and foreach.

◆ invalidateContent()

dbx\dbxContent\dbxContentPageCache::invalidateContent ( int $cid)
static

Definition at line 269 of file dbxContentPageCache.class.php.

◆ invalidateFolderTree()

dbx\dbxContent\dbxContentPageCache::invalidateFolderTree ( $db,
int $folderId )
static

Definition at line 433 of file dbxContentPageCache.class.php.

References $db, and if.

◆ invalidateMenu()

dbx\dbxContent\dbxContentPageCache::invalidateMenu ( int $root)
static

Definition at line 348 of file dbxContentPageCache.class.php.

References $root.

◆ invalidateSitemap()

dbx\dbxContent\dbxContentPageCache::invalidateSitemap ( )
static

◆ isConfigEnabled()

dbx\dbxContent\dbxContentPageCache::isConfigEnabled ( )
static

Definition at line 8 of file dbxContentPageCache.class.php.

References $config.

◆ isContentRoute()

dbx\dbxContent\dbxContentPageCache::isContentRoute ( )
static

Definition at line 65 of file dbxContentPageCache.class.php.

References if.

◆ isEnabled()

dbx\dbxContent\dbxContentPageCache::isEnabled ( )
static

Definition at line 40 of file dbxContentPageCache.class.php.

References $_SERVER.

Referenced by isPermalinkPageRequest().

◆ isPermalinkPageRequest()

dbx\dbxContent\dbxContentPageCache::isPermalinkPageRequest ( )
static

Definition at line 74 of file dbxContentPageCache.class.php.

References if, and isEnabled().

Referenced by readContent(), and writeContent().

◆ menuPath()

dbx\dbxContent\dbxContentPageCache::menuPath ( int $root,
string $lng,
string $variant = 'flat-1' )
static

Definition at line 176 of file dbxContentPageCache.class.php.

References $root.

◆ menuVariantFlat()

dbx\dbxContent\dbxContentPageCache::menuVariantFlat ( int $flat = 1)
static

Definition at line 91 of file dbxContentPageCache.class.php.

◆ menuVariantLoad()

dbx\dbxContent\dbxContentPageCache::menuVariantLoad ( int $deep = 9,
string $mode = '',
string $label = '' )
static

Definition at line 95 of file dbxContentPageCache.class.php.

◆ pageMetaPath()

dbx\dbxContent\dbxContentPageCache::pageMetaPath ( int $cid)
static

Definition at line 184 of file dbxContentPageCache.class.php.

References baseDir().

◆ permalinkContentPath()

dbx\dbxContent\dbxContentPageCache::permalinkContentPath ( string $permalink,
string $lng )
static

Definition at line 169 of file dbxContentPageCache.class.php.

◆ purgeLegacyMenuCache()

dbx\dbxContent\dbxContentPageCache::purgeLegacyMenuCache ( )
static

Entfernt den nicht mehr verwendeten Menu-Cache.

Definition at line 147 of file dbxContentPageCache.class.php.

References $dir, and baseDir().

◆ readContent()

dbx\dbxContent\dbxContentPageCache::readContent ( int $cid,
string $lng = '' )
static

Definition at line 188 of file dbxContentPageCache.class.php.

References if, and isPermalinkPageRequest().

Referenced by dbx\dbxContent\dbxContent\run().

◆ readMenu()

dbx\dbxContent\dbxContentPageCache::readMenu ( int $root,
string $variant = 'flat-1',
string $lng = '' )
static

Definition at line 236 of file dbxContentPageCache.class.php.

References $root.

◆ readPageMeta()

dbx\dbxContent\dbxContentPageCache::readPageMeta ( int $cid)
static

Definition at line 244 of file dbxContentPageCache.class.php.

References currentLng().

◆ readPermalinkContent()

dbx\dbxContent\dbxContentPageCache::readPermalinkContent ( string $permalink,
string $lng = '' )
static

Definition at line 212 of file dbxContentPageCache.class.php.

◆ setConfigEnabled()

dbx\dbxContent\dbxContentPageCache::setConfigEnabled ( bool $enabled)
static

Definition at line 30 of file dbxContentPageCache.class.php.

References $config.

◆ writeContent()

dbx\dbxContent\dbxContentPageCache::writeContent ( int $cid,
string $html,
array $meta = array(),
string $lng = '' )
static

Definition at line 217 of file dbxContentPageCache.class.php.

References if, and isPermalinkPageRequest().

Referenced by dbx\dbxContent\dbxContent\run().

◆ writeMenu()

dbx\dbxContent\dbxContentPageCache::writeMenu ( string $html,
int $root,
string $variant = 'flat-1',
string $lng = '' )
static

Definition at line 240 of file dbxContentPageCache.class.php.

References $root.

◆ writePageMeta()

dbx\dbxContent\dbxContentPageCache::writePageMeta ( int $cid,
array $meta )
static

Definition at line 264 of file dbxContentPageCache.class.php.


The documentation for this class was generated from the following file: