class ServerByDomain extends Slot

Слот для хранения разделов-серверов

Methods

__construct($domain)

No description

mixed
load()

Loads a data of this slot. If nothing is found, returns false.

from Slot
void
save(mixed $data)

Saves a data for this slot.

from Slot
void
remove()

Removes a data of specified slot.

from Slot
void
addTag(Tag $tag)

Associates a tag with current slot.

from Slot

Details

at line 23
__construct($domain)

Parameters

$domain

in Slot at line 56
mixed load()

Loads a data of this slot. If nothing is found, returns false.

Return Value

mixed Complex data or false if no cache entry is found.

in Slot at line 69
void save(mixed $data)

Saves a data for this slot.

Parameters

mixed $data Data to be saved.

Return Value

void

in Slot at line 85
void remove()

Removes a data of specified slot.

Return Value

void

in Slot at line 97
void addTag(Tag $tag)

Associates a tag with current slot.

Parameters

Tag $tag Tag object to associate.

Return Value

void