Added Callback capacity in PECL code, reflecting it here.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@243546 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
De Cock Xavier 2007-10-05 10:15:46 +00:00
parent d52b7cc63a
commit 05850f7f97
2 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<refentry xml:id="function.bbcode-create" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bbcode_create</refname>
@ -63,16 +63,16 @@
<listitem>
<simpara>
<varname remap="structfield">content_handling</varname> optional -
Gives the name of the function used as callback for modification
of the content - currently only supports functions not methods.
Gives the callback used for modification of the content. Object
Oriented Notation supported only since 0.10.1
callback prototype is string name(string $content, string $argument)
</simpara>
</listitem>
<listitem>
<simpara>
<varname remap="structfield">param_handling</varname> optional -
Gives the name of the function used as callback for modification
of the argument - currently only supports functions not methods.
Gives the callback used for modification of the argument. Object
Oriented Notation supported only since 0.10.1
callback prototype is string name(string $content, string $argument)
</simpara>
</listitem>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Membership: external, pecl -->
<reference xml:id="ref.bbcode" xmlns="http://docbook.org/ns/docbook">
<title>BBCode Functions</title>
@ -15,6 +15,9 @@
approach based on regular expressions. Further more, it helps provide
valid HTML by reordering open / close tags and by automatically closing
unclosed tags.
Since 0.10.1 It supports argument quoting with single quotes,
double quotes and html escaped double quotes.
</para>
</section>