Zend Framework
3.0
|
Public Member Functions | |
setTags ($key, array $tags) | |
Set tags to an item by given key. | |
getTags ($key) | |
Get tags of an item by given key. | |
clearByTags (array $tags, $disjunction=false) | |
Remove items matching given tags. | |
clearByTags | ( | array | $tags, |
$disjunction = false |
|||
) |
Remove items matching given tags.
If $disjunction only one of the given tags must match else all given tags must match.
string[] | $tags | |
bool | $disjunction |
Implemented in BlackHole, Filesystem, and Memory.
getTags | ( | $key | ) |
Get tags of an item by given key.
string | $key |
Implemented in BlackHole, Filesystem, and Memory.
setTags | ( | $key, | |
array | $tags | ||
) |
Set tags to an item by given key.
An empty array will remove all tags.
string | $key | |
string[] | $tags |
Implemented in BlackHole, Filesystem, and Memory.