_getMicroTime() : float
| access | private |
|---|
floatTimestamp_initPEARCache()
_raiseEvent(string $name) : void
| access | private |
|---|
stringName of event 2 raise
addOption(string $name, string $option) : void
g. $_GET,$_POST, $_COOKIE, ...). Used 2 generate the id for caching.
stringName of option
stringValue of option (any variable)
cConCache(string $cachedir, string $cachegroup, string $cacheprefix)
stringDirectory 2 cache files
stringSubdirectory 2 cache files
stringPrefixname 2 add 2 cached files
debug(bool $debug) : mixed
boolTrue 2 activate debugging or false.
mixedDebug flag or voidenable(bool $enable) : mixed
boolTrue 2 enable chaching or false
mixedEnable flag or voidend() : void
getInfo() : string
stringInformation about cache if caching is enabled, otherwhise nothing.htmlComment(bool $htmlcomment) : void
boolTrue debugging or false.
infoTemplate(string $template) : void
stringTemplate string including the '%s' format definition.
lifetime(int $seconds) : mixed
intNew Lifetime in seconds
mixedActual lifetime or voidremoveFromCache() : void
This is nesessary to delete cached articles, if they are changed on backend.
start(int $iPageStartTime) : void
The script will be terminated by calling die(), if any cached content is found.
intOptional start time, e. g. start time of main script
$_aCacheOptions : array
$_aEventCode : array
We have actually two events: - 'beforeoutput': code to execute before doing the output - 'afteroutput' code to execute after output
$_aIDOptions : array
g. $_GET,$_POST, $_COOKIE, ...).
$_bDebug : bool
$_bEnableCaching : bool
$_bHtmlComment : bool
$_iLifetime : int
$_iStartTime : int
$_oPearCache : \obj
$_sDebugMsg : string
$_sDebugTpl : string
$_sDir : string
$_sGroup : string
$_sHtmlCommentTpl : string
$_sID : string
$_sPrefix : string