UNB Components Code Reference

UnbTag::GetDifferences method

Determines the differences between two sets of tags.

public static function UnbTag::GetDifferences ($tags1, $tags2, &$addedTags, &$removedTags, &$changedTags);

Parameters

tags1

(array) First tag set. null is accepted for an empty set.

tags2

(array) Second tag set. null is accepted for an empty set.

addedTags  –  out

(array) Array to store all tags that were added in the second set

removedTags  –  out

(array) Array to store all tags that were removed in the second set

changedTags  –  out

(array) Array to store all tags whose user data was changed in the second set

Exceptions thrown

InvalidArgumentException 

On invalid argument type or value.

Member of class: UnbTag

Implementation file: tag.class.php, line 899

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