Finds one or more tag instances by their tag name.
public static function UnbTag::FindByTagName ($tagName, $caseless = false, $getAll = false);
(string) Tag name (max. 255 characters)
(bool) Compare tag names case-insensitive (default is case-sensitive)
(bool) Return all search results instead only the first (default is only the first result)
Note that this method will only return a single tag if the getAll parameter is false. So if the specified name is not unique (which is possible by the application design), it is undetermined, which of the tags is returned.
InvalidArgumentException | No description available. |
LengthException | No description available. |
UnbDatabaseException | No description available. |
Member of class: UnbTag
Implementation file: tag.class.php, line 199
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.