Documentation

CacheDirectoryStorage
in package
implements IEphemeralStorage

Table of Contents

Interfaces

IEphemeralStorage
Defines a data repository with built-in decay.

Properties

$dom  : DOMHelper

Methods

__construct()  : mixed
delete()  : bool
exists()  : bool
install()  : void
retrieve()  : string|null
retrieveDocument()  : DOMDocument|null
retrieveJSON()  : mixed
retrieveXML()  : DOMNode|null
store()  : bool
storeDocument()  : bool
storeJSON()  : bool
storeXML()  : bool
_DOMHelper()  : mixed

Properties

Methods

exists()

public exists(string $name, int $modifyTime) : bool
Parameters
$name : string
$modifyTime : int
Return values
bool

retrieve()

public retrieve(string $name, int $modifyTime) : string|null
Parameters
$name : string
$modifyTime : int
Return values
string|null

retrieveDocument()

public retrieveDocument(string $name, int $modifyTime) : DOMDocument|null
Parameters
$name : string
$modifyTime : int
Return values
DOMDocument|null

retrieveJSON()

public retrieveJSON(string $name, int $modifyTime) : mixed
Parameters
$name : string
$modifyTime : int

retrieveXML()

public retrieveXML(string $name, int $modifyTime[, DOMDocument $targetDoc = null ]) : DOMNode|null
Parameters
$name : string
$modifyTime : int
$targetDoc : DOMDocument = null
Return values
DOMNode|null

store()

public store(string $name, string $payload, int $modifyTime) : bool
Parameters
$name : string
$payload : string
$modifyTime : int
Return values
bool

storeDocument()

public storeDocument(string $name, DOMDocument $dataDoc, int $modifyTime) : bool
Parameters
$name : string
$dataDoc : DOMDocument
$modifyTime : int
Return values
bool

storeJSON()

public storeJSON(string $name, mixed $dataObject, int $modifyTime) : bool
Parameters
$name : string
$dataObject : mixed
$modifyTime : int
Return values
bool

storeXML()

public storeXML(string $name, DOMNode $dataNode, int $modifyTime) : bool
Parameters
$name : string
$dataNode : DOMNode
$modifyTime : int
Return values
bool

        
On this page

Search results