Subclass for Stickers.
MphpD::sticker(string $type, string $uri) : Sticker
This class is not intended for direct usage.
Use MphpD::sticker() instead to retrieve an instance of this class.
Sticker::__construct(FloFaber\MphpD\MphpD $mphpd, string $type, string $uri) : mixed
mixed
Returns the value of the specified sticker
Sticker::get(string $name) : mixed
Name of the sticker.
mixed
false|string string on success or false on failure.
Add a value to the specified sticker.
Sticker::set(string $name, string $value) : bool
Name of the value.
Value of the value.
bool
bool true on success or false on failure.
Deletes the value from the specified sticker.
Sticker::delete(string $name = '') : bool
If omitted all sticker values will be deleted.
bool
bool true on success or false on failure.
Returns an associative array containing sticker names and values of the specified object.
Sticker::list() : mixed
mixed
array|false array on success or false on failure.
Search the sticker database for sticker with the specified name and/or value in the specified $uri
Sticker::find(string $name, string $operator = '', string $value = '') : mixed
The sticker name
Optional. Can be one of =, < or >. Only in combination with $value.
Optional. The value to search for. Only in combination with $operator.
mixed
array|false array on success or false on failure.