UNB Components Code Reference

UnbTag::FindByTagId method

Finds a tag instance or an array of tag instances by its/their tag ID.

public static function UnbTag::FindByTagId ($tagId);

Parameters

tagId

(int) Tag ID
(array) Array of tag IDs

Return value

(UnbTag) Tag object if a single tag ID was specified, or (array(UnbTag)) array of tag instances if an array of tag IDs was specified, or null on error.

Exceptions thrown

InvalidArgumentException 

On invalid argument type or value.

UnbDatabaseException No description available.

Member of class: UnbTag

Implementation file: tag.class.php, line 153

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.