vBulletin v6.0.4

vB_FastDS
in package
Uses vB_Trait_NoSerialize

AbstractYes

Table of Contents

Constants

TYPE_DATASTORE  = 'ds'
TYPE_PHRASES  = 'ph'
TYPE_TEMPLATES  = 'tm'

Methods

__serialize()  : array<string|int, mixed>
__sleep()  : array<string|int, mixed>
__unserialize()  : void
__wakeup()  : void
buildFastDS()  : mixed
reBuilds the fastDS data. This is called if the cached value is lost, or after upgrade.
getDS()  : mixed
gets a datastore value
getPhrases()  : string
gets a phrase, or set of phrases, from the default language
getTemplates()  : mixed
gets a template from the default style
instance()  : mixed
Returns a reference to the current fastDS object, or false
setDS()  : bool
sets a datastore value
setDsChanged()  : mixed

Constants

TYPE_DATASTORE

public mixed TYPE_DATASTORE = 'ds'

TYPE_PHRASES

public mixed TYPE_PHRASES = 'ph'

TYPE_TEMPLATES

public mixed TYPE_TEMPLATES = 'tm'

Methods

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(array<string|int, mixed> $serialized) : void
Parameters
$serialized : array<string|int, mixed>

buildFastDS()

reBuilds the fastDS data. This is called if the cached value is lost, or after upgrade.

public buildFastDS() : mixed

getDS()

gets a datastore value

public getDS(mixed $dsKeys) : mixed
@param	mixed	string or array of string
Parameters
$dsKeys : mixed
Return values
mixed

the datastore value

getPhrases()

gets a phrase, or set of phrases, from the default language

public getPhrases(mixed $varnames, mixed $languageid) : string
@param	mixed	string or array of strings
Parameters
$varnames : mixed
$languageid : mixed
Return values
string

getTemplates()

gets a template from the default style

public getTemplates(mixed $templateNames, mixed $styleid) : mixed
@param	mixed	string or array of string
Parameters
$templateNames : mixed
$styleid : mixed

instance()

Returns a reference to the current fastDS object, or false

public static instance() : mixed
Return values
mixed

either a fastDS instance or false

setDS()

sets a datastore value

public setDS(mixed $dsKey, mixed $value) : bool
@param	string	key
Parameters
$dsKey : mixed
$value : mixed
Return values
bool

true if it succeeded, otherwise false

setDsChanged()

public setDsChanged(mixed $title) : mixed
Parameters
$title : mixed

        
On this page

Search results