php教程

bbcode_add_element

(PECL bbcode >= 0.9.0)

bbcode_add_elementAdds a bbcode element

说明

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

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

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788