Add the new optional parameter that allows to restrict the available functions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183758 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2005-04-06 14:43:07 +00:00
parent b2fd444f56
commit ef4fb9cd49

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.xsl-xsltprocessor-register-php-functions">
<refnamediv>
<refname>XSLTProcessor->registerPHPFunctions()</refname>
@ -12,7 +12,7 @@
<methodsynopsis>
<type>void</type>
<methodname>registerPHPFunctions</methodname>
<void/>
<methodparam choice="opt"><type>mixed</type><parameter>restrict</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
@ -20,12 +20,55 @@
within XSL stylesheets.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>restrict</parameter></term>
<listitem>
<para>
Use this parameter to only allow certain functions to be called from
XSLT.
</para>
<para>
This parameter can be either a string (a function name) or an array of
functions.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.void;
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.0.5</entry>
<entry>
The <parameter>restrict</parameter> parameter was added.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file