UNB Components Code Reference

UnbMessageRevision::GetTags method

Gets UnbTag objects of all tags assigned to this message revision.

public function UnbMessageRevision::GetTags ($onlyVisible = true, $names = null);

Parameters

onlyVisible  –  optional, default: true

(bool) Only get tags that don't have the UnbTagFlag::Invisible flag set

names  –  optional, default: null

(array) Tag names to retrieve

Return value

(array(UnbTag)) Tags

Remarks

If a list of tag names was specified, the return value is an associative array with the tags' display name as key. If no names were specified, all tags are returned in a normal array indexed numerically sorted in the correct hierarchical tag order.

Exceptions thrown

UnbDatabaseException No description available.

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 1560

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