class vB_Library_Page extends vB_Library

vB_Library_Page

Traits

Constants

MIN_PRECACHELIFE

Properties

static protected $instance from vB_Library
protected $lastCacheData
protected $preCacheInfo
protected $lastpreCache

Methods

__sleep()

No description

__wakeup()

No description

__construct()

No description

static vB_PageCache
instance($class)

Returns singleton instance of self.

static 
getLibraryClassNameInternal($controller)

No description

static 
getContentInstance($contenttypeid)

No description

static 
clearCache()

No description

preload(string $pageKey)

This preloads information for the current page.

savePreCacheInfo(string $pageKey)

This saves preload information for the current page.

registerPrecacheInfo($apiClass, $method, $params)

This saves preload information for the current page.

true|array
deleteFromPageInfo(array $page)

Delete a page

getURLs($params = array())

No description

getOrphanedPagetemplates($params = array())

No description

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

in vB_Library at line 25
protected __construct()

in vB_Library at line 35
static vB_PageCache instance($class)

Returns singleton instance of self.

Parameters

$class

Return Value

vB_PageCache
  • Reference to singleton instance of the cache handler

in vB_Library at line 52
static protected getLibraryClassNameInternal($controller)

Parameters

$controller

in vB_Library at line 91
static getContentInstance($contenttypeid)

Parameters

$contenttypeid

in vB_Library at line 99
static clearCache()

at line 38
preload(string $pageKey)

This preloads information for the current page.

Parameters

string $pageKey the identifier for this page, which comes from the route class.

at line 79
savePreCacheInfo(string $pageKey)

This saves preload information for the current page.

Parameters

string $pageKey -- the identifier for this page, which comes from the route class.

at line 101
registerPrecacheInfo($apiClass, $method, $params)

This saves preload information for the current page.

Parameters

$apiClass
$method
$params

at line 130
true|array deleteFromPageInfo(array $page)

Delete a page

Parameters

array $page -- the page info

Return Value

true|array -- either on sucess true or an error array

at line 147
getURLs($params = array())

Parameters

$params

at line 362
getOrphanedPagetemplates($params = array())

Parameters

$params