Slot
class Slot
Базовый класс для всех будущих пользовательских классов-слотов.
Определяет, с каким backend-ом будет идти работа.
Methods
__construct($id, $lifetime)
Creates a new slot object.
mixed
load()
Loads a data of this slot. If nothing is found, returns false.
void
save(mixed $data)
Saves a data for this slot.
void
remove()
Removes a data of specified slot.
void
addTag(Tag $tag)
Associates a tag with current slot.
Details
at line 43
__construct($id, $lifetime)
Creates a new slot object.
at line 56
mixed
load()
Loads a data of this slot. If nothing is found, returns false.
at line 69
void
save(mixed $data)
Saves a data for this slot.
at line 85
void
remove()
Removes a data of specified slot.
at line 97
void
addTag(Tag $tag)
Associates a tag with current slot.