update : 2015.11.03
php.shukuma.com

검색:
 
 
Adds a bbcode element

bbcode_add_element

(PECL bbcode >= 0.9.0)

bbcode_add_elementAdds a bbcode element

설명

bool bbcode_add_element ( resource $bbcode_container , string $tag_name , array $tag_rules )

Adds a tag to an existing BBCode_Container tag_set using tag_rules.

인수

bbcode_container

BBCode_Container resource, returned by bbcode_create().

tag_name

The new tag to add to the BBCode_Container tag_set.

tag_rules

An associative array containing the parsing rules; see bbcode_create() for the available keys.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.