mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-20 19:08:54 +00:00
84 lines
2.2 KiB
XML
84 lines
2.2 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<refentry xml:id="function.bbcode-add-element" xmlns="http://docbook.org/ns/docbook">
|
||
|
<refnamediv>
|
||
|
<refname>bbcode_add_element</refname>
|
||
|
<refpurpose>Close fileinfo resource</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1 role="description">
|
||
|
&reftitle.description;
|
||
|
<methodsynopsis>
|
||
|
<type>bool</type><methodname>bbcode_add_element</methodname>
|
||
|
<methodparam><type>resource</type><parameter>bbcode_container</parameter></methodparam>
|
||
|
<methodparam><type>string</type><parameter>tag_name</parameter></methodparam>
|
||
|
<methodparam><type>array</type><parameter>tag_rules</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
|
||
|
<para>
|
||
|
This function adds a tag to an existing BBCode_Container tag_set see
|
||
|
<function>bbcode_create</function> for the format needed for tag_rules
|
||
|
</para>
|
||
|
|
||
|
</refsect1>
|
||
|
<refsect1 role="parameters">
|
||
|
&reftitle.parameters;
|
||
|
<para>
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term><parameter>bbcode_container</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
BBCode_Container resource returned by <function>bbcode_create</function>.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term><parameter>tag_name</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
The new tag to add to the BBCode_Container tag set.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term><parameter>tag_rules</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
An associative array containing the parsing rules see
|
||
|
<function>bbcode_create</function> for the keys availables
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
</variablelist>
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
<refsect1 role="returnvalues">
|
||
|
&reftitle.returnvalues;
|
||
|
<para>
|
||
|
&return.success;
|
||
|
</para>
|
||
|
</refsect1>
|
||
|
|
||
|
</refentry>
|
||
|
|
||
|
<!-- Keep this comment at the end of the file
|
||
|
Local variables:
|
||
|
mode: sgml
|
||
|
sgml-omittag:t
|
||
|
sgml-shorttag:t
|
||
|
sgml-minimize-attributes:nil
|
||
|
sgml-always-quote-attributes:t
|
||
|
sgml-indent-step:1
|
||
|
sgml-indent-data:t
|
||
|
indent-tabs-mode:nil
|
||
|
sgml-parent-document:nil
|
||
|
sgml-default-dtd-file:"../../../../manual.ced"
|
||
|
sgml-exposed-tags:nil
|
||
|
sgml-local-catalogs:nil
|
||
|
sgml-local-ecat-files:nil
|
||
|
End:
|
||
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||
|
vim: et tw=78 syn=sgml
|
||
|
vi: ts=1 sw=1
|
||
|
-->
|