Fix a mistake, the random stuff is only used in DomNode->*set*_namespace()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188271 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2005-06-13 10:03:08 +00:00
parent f570ec153a
commit 400a40a276

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry id='function.domnode-add-namespace'>
<refnamediv>
<refname>DomNode->add_namespace</refname>
@ -14,7 +14,7 @@
<methodsynopsis>
<type>bool</type><methodname>add_namespace</methodname>
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam>
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
@ -42,8 +42,7 @@
<term><parameter>prefix</parameter></term>
<listitem>
<para>
The namespace prefix of the node. If not set, a random prefix will be
generated.
The namespace prefix of the node.
</para>
</listitem>
</varlistentry>