vrana Thu Jun 16 11:29:43 2005 EDT
Modified files: /phpdoc/en/reference/xsl/functions xsl-xsltprocessor-set-parameter.xml Log: Can be called with array http://cvs.php.net/diff.php/phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml diff -u phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml:1.4 phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml:1.5 --- phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml:1.4 Tue Dec 28 04:24:31 2004 +++ phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml Thu Jun 16 11:29:43 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.xsl-xsltprocessor-set-parameter"> <refnamediv> <refname>XSLTProcessor->setParameter()</refname> @@ -10,11 +10,18 @@ <classsynopsis> <ooclass><classname>XSLTProcessor</classname></ooclass> <methodsynopsis> - <type>bool</type> - <methodname>setParameter</methodname> + <type>bool</type><methodname>setParameter</methodname> <methodparam><type>string</type><parameter>namespace</parameter></methodparam> - <methodparam><type>mixed</type><parameter>name</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + <methodparam><type>string</type><parameter>value</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <classsynopsis> + <ooclass><classname>XSLTProcessor</classname></ooclass> + <methodsynopsis> + <type>bool</type><methodname>setParameter</methodname> + <methodparam><type>string</type><parameter>namespace</parameter></methodparam> + <methodparam><type>array</type><parameter>options</parameter></methodparam> </methodsynopsis> </classsynopsis> <para> @@ -28,7 +35,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>namespaceURI</parameter></term> + <term><parameter>namespace</parameter></term> <listitem> <para> The namespace URI of the XSLT parameter. @@ -36,12 +43,10 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>localName</parameter></term> + <term><parameter>name</parameter></term> <listitem> <para> - The local name of the XSLT parameter. This can be either a string - representing the parameter name or an array of - <literal>name => value</literal> pairs. + The local name of the XSLT parameter. </para> </listitem> </varlistentry> @@ -53,6 +58,15 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>options</parameter></term> + <listitem> + <para> + An array of <literal>name => value</literal> pairs. This syntax is + available since PHP 5.1.0. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1>