didou Mon Dec 27 08:02:53 2004 EDT
Modified files: /phpdoc/en/reference/dom/functions dom-domdocument-createattributens.xml dom-domdocument-createattribute.xml dom-domdocument-createcdatasection.xml dom-domdocument-createcomment.xml dom-domdocument-createdocumentfragment.xml dom-domdocument-createelementns.xml dom-domdocument-createelement.xml dom-domdocument-createentityreference.xml dom-domdocument-createprocessinginstruction.xml dom-domdocument-createtextnode.xml Log: Migrate and document DOMDocument::createXX()
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createattributens.xml Mon Dec 27 08:02:52 2004 @@ -1,42 +1,82 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createattributens"> - <refnamediv> - <refname>DOMDocument->createAttributeNS</refname> - <refpurpose> - Create new attribute node with an associated namespace - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMAttr</type> - <methodname>createAttributeNS</methodname> - <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> - <methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class <classname>DOMAttr</classname>. - The tag name and prefix of the attribute is determined by the value of the - passed parameter <parameter>qualifiedName</parameter>. The URI of the - namespace is the value of <parameter>namespaceURI</parameter>. - &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domdocument-createelementns">DOMDocument->createElementNS()</link>, - <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link> and - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createattributens"> + <refnamediv> + <refname>DOMDocument->createAttributeNS()</refname> + <refpurpose> + Create new attribute node with an associated namespace + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMAttr</type> + <methodname>createAttributeNS</methodname> + <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam> + <methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMAttr</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>namespaceURI</parameter></term> + <listitem> + <para> + The URI of the namespace. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>qualifiedName</parameter></term> + <listitem> + <para> + The tag name and prefix of the attribute, as <literal>prefix:tagname</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMAttr</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>qualifiedName</parameter> + contains an invalid character. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createattribute.xml Mon Dec 27 08:02:52 2004 @@ -1,37 +1,71 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createattribute"> - <refnamediv> - <refname>DOMDocument->createAttribute</refname> - <refpurpose>Create new attribute</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMAttr</type> - <methodname>createAttribute</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class <classname>DOMAttr</classname>. - The name of the attribute is the value of the first parameter. - &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link>, - <link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link> and - <link linkend="function.dom-domdocument-createprocessinginstruction">DOMDocument->createProcessingInstruction()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createattribute"> + <refnamediv> + <refname>DOMDocument->createAttribute()</refname> + <refpurpose>Create new attribute</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMAttr</type> + <methodname>createAttribute</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class <classname>DOMAttr</classname>. + &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>name</parameter></term> + <listitem> + <para> + The name of the attribute. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMAttr</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>name</parameter> + contains an invalid character. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createcdatasection.xml Mon Dec 27 08:02:52 2004 @@ -1,37 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createcdatasection"> - <refnamediv> - <refname>DOMDocument->createCDATASection</refname> - <refpurpose>Create new cdata node</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMCDATASection</type> - <methodname>createCDATASection</methodname> - <methodparam><type>string</type><parameter>data</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class - <classname>DOMCDATASection</classname>. The content of the cdata is the - value of the passed parameter. &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link>, - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link>, - <link linkend="function.dom-domdocument-createprocessinginstruction">DOMDocument->createProcessingInstruction()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createcdatasection"> + <refnamediv> + <refname>DOMDocument->createCDATASection()</refname> + <refpurpose>Create new cdata node</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMCDATASection</type> + <methodname>createCDATASection</methodname> + <methodparam><type>string</type><parameter>data</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMCDATASection</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>data</parameter></term> + <listitem> + <para> + The content of the cdata. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMCDATASection</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createcomment.xml Mon Dec 27 08:02:52 2004 @@ -1,37 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createcomment"> - <refnamediv> - <refname>DOMDocument->createComment</refname> - <refpurpose>Create new comment node</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMComment</type> - <methodname>createComment</methodname> - <methodparam><type>string</type><parameter>data</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class - <classname>DOMComment</classname>. The content of the comment is the - value of the passed parameter. &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link>, - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link>, - <link linkend="function.dom-domdocument-createprocessinginstruction">DOMDocument->createProcessingInstruction()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createcomment"> + <refnamediv> + <refname>DOMDocument->createComment()</refname> + <refpurpose>Create new comment node</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMComment</type> + <methodname>createComment</methodname> + <methodparam><type>string</type><parameter>data</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMComment</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>data</parameter></term> + <listitem> + <para> + The content of the comment. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMComment</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createdocumentfragment.xml Mon Dec 27 08:02:52 2004 @@ -1,30 +1,48 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createdocumentfragment"> - <refnamediv> - <refname>DOMDocument->createDocumentFragment</refname> - <refpurpose>Create new document fragment</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMDocumentFragment</type> - <methodname>createDocumentFragment</methodname> - <void/> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class <classname>DOMAttr</classname>. - The name of the attribute is the value of the first parameter. - &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createdocumentfragment"> + <refnamediv> + <refname>DOMDocument->createDocumentFragment()</refname> + <refpurpose>Create new document fragment</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMDocumentFragment</type> + <methodname>createDocumentFragment</methodname> + <void/> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMDocumentFragment</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMDocumentFragment</classname> or &false; if an error occured. + </para> + </refsect1> <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.7 phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.8 --- phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml:1.7 Mon Dec 20 10:57:48 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createelementns.xml Mon Dec 27 08:02:52 2004 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry id="function.dom-domdocument-createelementns"> <refnamediv> - <refname>DOMDocument->createElementNS</refname> + <refname>DOMDocument->createElementNS()</refname> <refpurpose> Create new element node with an associated namespace </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>DOMDocument</classname></ooclass> @@ -23,7 +23,7 @@ This function creates a new element node with an associated namespace. &dom.node.inserted; </para> - </refsect1> + </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -40,7 +40,7 @@ <term><parameter>qualifiedName</parameter></term> <listitem> <para> - The qualified name of the element, as <literal>prefix:tagname</literal> + The qualified name of the element, as <literal>prefix:tagname</literal>. </para> </listitem> </varlistentry> @@ -59,8 +59,14 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns a new instance of class <classname>DOMElement</classname> or &false; - if an error occured. + The new <classname>DOMElement</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>qualifiedName</parameter> + contains an invalid character. </para> </refsect1> <refsect1 role="examples"> @@ -97,12 +103,16 @@ &reftitle.seealso; <para> <simplelist> - <member><link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link></member> - <member><link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link></member> - <member><link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link></member> - <member><link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link></member> - <member><link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link></member> - <member><link linkend="function.dom-domdocument-createprocessinginstruction">DOMDocument->createProcessingInstruction()</link></member> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> </simplelist> </para> </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.6 phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.7 --- phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml:1.6 Mon Dec 20 10:57:48 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createelement.xml Mon Dec 27 08:02:52 2004 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.dom-domdocument-createelement"> <refnamediv> - <refname>DOMDocument->createElement</refname> + <refname>DOMDocument->createElement()</refname> <refpurpose>Create new element node</refpurpose> </refnamediv> <refsect1 role="description"> @@ -17,9 +17,10 @@ </methodsynopsis> </classsynopsis> <para> - This function creates a new element node. &dom.node.inserted; + This function creates a new instance of class + <classname>DOMElement</classname>. &dom.node.inserted; </para> - </refsect1> + </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -51,6 +52,13 @@ if an error occured. </para> </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>name</parameter> + contains an invalid character. + </para> + </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> @@ -85,12 +93,16 @@ &reftitle.seealso; <para> <simplelist> - <member><link linkend="function.dom-domdocument-createelementns">DOMDocument->createElementNS()</link></member> - <member><link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link></member> - <member><link linkend="function.dom-domdocument-createtextnode">DOMDocument->createTextNode()</link></member> - <member><link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link></member> - <member><link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link></member> - <member><link linkend="function.dom-domdocument-createprocessinginstruction">DOMDocument->createProcessingInstruction()</link></member> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> </simplelist> </para> </refsect1> http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createentityreference.xml Mon Dec 27 08:02:52 2004 @@ -1,36 +1,71 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createentityreference"> - <refnamediv> - <refname>DOMDocument->createEntityReference</refname> - <refpurpose>Create new entity reference node</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMEntityReference</type> - <methodname>createEntityReference</methodname> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class - <classname>DOMEntityReference</classname>. The content of the entity - reference is the value of the passed parameter. &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link> and - <link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createentityreference"> + <refnamediv> + <refname>DOMDocument->createEntityReference()</refname> + <refpurpose>Create new entity reference node</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMEntityReference</type> + <methodname>createEntityReference</methodname> + <methodparam><type>string</type><parameter>name</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMEntityReference</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>name</parameter></term> + <listitem> + <para> + The content of the entity reference. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMEntityReference</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>name</parameter> + contains an invalid character. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createprocessinginstruction.xml Mon Dec 27 08:02:52 2004 @@ -1,37 +1,79 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createprocessinginstruction"> - <refnamediv> - <refname>DOMDocument->createProcessingInstruction</refname> - <refpurpose>Creates new PI node</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMProcessingInstruction</type> - <methodname>createProcessingInstruction</methodname> - <methodparam><type>string</type><parameter>target</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class - <classname>DOMProcessingInstruction</classname>. The content of the pi is the - value of the passed parameter. &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link> and - <link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createprocessinginstruction"> + <refnamediv> + <refname>DOMDocument->createProcessingInstruction()</refname> + <refpurpose>Creates new PI node</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMProcessingInstruction</type> + <methodname>createProcessingInstruction</methodname> + <methodparam><type>string</type><parameter>target</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>data</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMProcessingInstruction</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>target</parameter></term> + <listitem> + <para> + The target of the processing instruction. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>data</parameter></term> + <listitem> + <para> + The content of the processing instruction. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMProcessingInstruction</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="exceptions"> + &reftitle.exceptions; + <para> + Throws <classname>DOMException</classname> if <parameter>target</parameter> + contains an invalid character. + </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createtextnode" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml:1.5 phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml:1.6 --- phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml:1.5 Fri Dec 17 10:11:30 2004 +++ phpdoc/en/reference/dom/functions/dom-domdocument-createtextnode.xml Mon Dec 27 08:02:52 2004 @@ -1,36 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> - <refentry id="function.dom-domdocument-createtextnode"> - <refnamediv> - <refname>DOMDocument->createTextNode</refname> - <refpurpose>Create new text node</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <classsynopsis> - <ooclass><classname>DOMDocument</classname></ooclass> - <methodsynopsis> - <type>DOMText</type> - <methodname>createTextNode</methodname> - <methodparam><type>string</type><parameter>content</parameter></methodparam> - </methodsynopsis> - </classsynopsis> - <para> - This function returns a new instance of class - <classname>DOMText</classname>. The content of the text is the value of - the passed parameter. &dom.node.inserted; - </para> - <para> - The return value is &false; if an error occurred. - </para> - <para> - See also <link linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>, - <link linkend="function.dom-domdocument-createelement">DOMDocument->createElement()</link>, - <link linkend="function.dom-domdocument-createattribute">DOMDocument->createAttribute()</link> and - <link linkend="function.dom-domdocument-createcomment">DOMDocument->createComment()</link>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id="function.dom-domdocument-createtextnode"> + <refnamediv> + <refname>DOMDocument->createTextNode()</refname> + <refpurpose>Create new text node</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMDocument</classname></ooclass> + <methodsynopsis> + <type>DOMText</type> + <methodname>createTextNode</methodname> + <methodparam><type>string</type><parameter>content</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + This function creates a new instance of class + <classname>DOMText</classname>. &dom.node.inserted; + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>content</parameter></term> + <listitem> + <para> + The content of the text. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + The new <classname>DOMText</classname> or &false; if an error occured. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.dom-domnode-appendchild" /></member> + <member><xref linkend="function.dom-domdocument-createattribute" /></member> + <member><xref linkend="function.dom-domdocument-createattributens" /></member> + <member><xref linkend="function.dom-domdocument-createcdatasection" /></member> + <member><xref linkend="function.dom-domdocument-createcomment" /></member> + <member><xref linkend="function.dom-domdocument-createdocumentfragment" /></member> + <member><xref linkend="function.dom-domdocument-createelement" /></member> + <member><xref linkend="function.dom-domdocument-createelementns" /></member> + <member><xref linkend="function.dom-domdocument-createentityreference" /></member> + <member><xref linkend="function.dom-domdocument-createprocessinginstruction" /></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: