UNB Components Code Reference

UnbTag::Create method

Creates a new tag instance.

public static function UnbTag::Create ($tagName);

Parameters

tagName

(string) New tag's displayed name (max. 255 characters)

Return value

The newly created UnbTag object

Remarks

The newly created tag instance is also stored in the database.

Exceptions thrown

InvalidArgumentException No description available.
LengthException No description available.
UnbSecurityException 

If not logged in or no moderator.

UnbDatabaseException No description available.

Privileges required

Must be logged in with moderator privilege

Member of class: UnbTag

Implementation file: tag.class.php, line 78

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