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
__construct()
public
__construct() : mixed
delete()
public
delete(string $name) : bool
Parameters
-
$name
: string
-
exists()
public
exists(string $name, int $modifyTime) : bool
Parameters
-
$name
: string
-
-
$modifyTime
: int
-
install()
public
install() : void
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
-
storeDocument()
public
storeDocument(string $name, DOMDocument $dataDoc, int $modifyTime) : bool
Parameters
-
$name
: string
-
-
$dataDoc
: DOMDocument
-
-
$modifyTime
: int
-
storeJSON()
public
storeJSON(string $name, mixed $dataObject, int $modifyTime) : bool
Parameters
-
$name
: string
-
-
$dataObject
: mixed
-
-
$modifyTime
: int
-
storeXML()
public
storeXML(string $name, DOMNode $dataNode, int $modifyTime) : bool
Parameters
-
$name
: string
-
-
$dataNode
: DOMNode
-
-
$modifyTime
: int
-
_DOMHelper()
protected
static _DOMHelper() : mixed