Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-register-php-functions.xml

From: Date: Wed, 06 Apr 2005 15:32:03 +0000
Subject: Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-register-php-functions.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367586@lists.php.net to get a copy of this message
References: <cvsdidou1112798588@cvsserver> <001201c53ab8$fc31e910$0100a8c0@pc07653> In-Reply-To: <001201c53ab8$fc31e910$0100a8c0@pc07653> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks :) Seems like I still didn't get the logic :$. didou Nuno Lopes wrote: > 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>

« previous php.doc (#969367586) next »