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
@param \MphpD $mphpd
@param string $type
@param string $uri
mixed
Returns the value of the specified sticker
Sticker::get(string $name) : mixed
@param string $name
mixed
false|string Returns string on success and false on failure
Add a value to the specified sticker.
Sticker::set(string $name, string $value) : bool
@param string $name
@param string $value
bool
bool
Deletes the value from the specified sticker.
Sticker::delete(string $name = '') : bool
@param string $name If omitted all sticker values will be deleted.
bool
bool
Returns an associative array containing sticker names and values of the specified object.
Sticker::list() : mixed
mixed
array|false
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
@param string $name The sticker name
@param string $operator Optional. Can be one of =, < or >. Only in combination with $value.
@param string $value Optional. The value to search for. Only in combination with $operator.
mixed
array|false