BBCODE_ADD_ELEMENT(3) 1 BBCODE_ADD_ELEMENT(3)
bbcode_add_element - Adds a bbcode element
SYNOPSIS
bool bbcode_add_element (resource $bbcode_container, string $tag_name, array $tag_rules)
DESCRIPTION
Adds a tag to an existing BBCode_Container tag_set using tag_rules.
PARAMETERS
o $bbcode_container
- BBCode_Container resource, returned by bbcode_create(3).
o $tag_name
- The new tag to add to the BBCode_Container tag_set.
o $tag_rules
- An associative array containing the parsing rules; see bbcode_create(3) for the available keys.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group BBCODE_ADD_ELEMENT(3)