Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-register-php-functions.xml
| From: | Nuno Lopes | Date: | Wed, 06 Apr 2005 14:57:09 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-register-php-functions.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969367580@lists.php.net to get a copy of this message | ||
It was added to PHP 5.1.0, not to the PHP_5_0 branch.
Nuno
----- Original Message -----
didou Wed Apr 6 10:43:08 2005 EDT Modified files: /phpdoc/en/reference/xsl/functions xsl-xsltprocessor-register-php-functions.xml Log: Add the new optional parameter that allows to restrict the available functions. http://cvs.php.net/diff.php/phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml diff -u phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml:1.3 phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml:1.4 --- phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml:1.3 Tue Dec 28 04:24:31 2004 +++ phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml Wed Apr 6 10:43:07 2005 @@ -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>