mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
simplexml_element renamed to SimpleXMLElement.
# thanks, tk AT bytecrash DOT net git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163571 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0b006d5893
commit
3415d5f66c
7 changed files with 23 additions and 23 deletions
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-element-asXML'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_element->asXML</refname>
|
||||
<refname>SimpleXMLElement->asXML</refname>
|
||||
<refpurpose>
|
||||
Return a well-formed XML string based on SimpleXML element.
|
||||
</refpurpose>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>simplexml_element->asXML</methodname>
|
||||
<type>string</type><methodname>SimpleXMLElement->asXML</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-element-attributes'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_element->attributes</refname>
|
||||
<refname>SimpleXMLElement->attributes</refname>
|
||||
<refpurpose>
|
||||
Identifies an element's attributes.
|
||||
</refpurpose>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>object simplexml_element</type><methodname>simplexml_element->attributes</methodname>
|
||||
<type>object SimpleXMLElement</type><methodname>simplexml_element->attributes</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry id='function.simplexml-element-children'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_element->children</refname>
|
||||
<refname>SimpleXMLElement->children</refname>
|
||||
<refpurpose>
|
||||
Finds children of given node.
|
||||
</refpurpose>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>object simplexml_element</type><methodname>simplexml_element->children</methodname>
|
||||
<type>object SimpleXMLElement</type><methodname>simplexml_element->children</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-element-xpath'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_element->xpath</refname>
|
||||
<refname>SimpleXMLElement->xpath</refname>
|
||||
<refpurpose>
|
||||
Runs Xpath query on XML data.
|
||||
</refpurpose>
|
||||
|
@ -10,13 +10,13 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>simplexml_element->xpath</methodname>
|
||||
<type>array</type><methodname>SimpleXMLElement->xpath</methodname>
|
||||
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
The <literal>xpath</literal> method searches the SimpleXML node for
|
||||
children matching the <acronym>Xpath</acronym> <parameter>path</parameter>.
|
||||
It always returns an <type>array</type> of simplexml_element objects.
|
||||
It always returns an <type>array</type> of SimpleXMLElement objects.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-import-dom'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_import_dom</refname>
|
||||
<refpurpose>
|
||||
Get a <literal>simplexml_element</literal> object from a
|
||||
Get a <literal>SimpleXMLElement</literal> object from a
|
||||
DOM node.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>object simplexml_element</type><methodname>simplexml_import_dom</methodname>
|
||||
<type>object SimpleXMLElement</type><methodname>simplexml_import_dom</methodname>
|
||||
<methodparam><type>domNode</type><parameter>node</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-load-file'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_load_file</refname>
|
||||
|
@ -10,13 +10,13 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>object simplexml_element</type><methodname>simplexml_load_file</methodname>
|
||||
<type>object SimpleXMLElement</type><methodname>simplexml_load_file</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This function will convert the well-formed XML document in the file
|
||||
specified by <parameter>filename</parameter> to an <type>object</type>
|
||||
of class <literal>simplexml_element</literal>. If any errors occur
|
||||
of class <literal>SimpleXMLElement</literal>. If any errors occur
|
||||
during file access or interpretation, the function returns &false;.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -43,7 +43,7 @@ if (file_exists('test.xml')) {
|
|||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
simplexml_element Object
|
||||
SimpleXMLElement Object
|
||||
(
|
||||
[title] => Example Title
|
||||
...
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.simplexml-load-string'>
|
||||
<refnamediv>
|
||||
<refname>simplexml_load_string</refname>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>object simplexml_element</type><methodname>simplexml_load_string</methodname>
|
||||
<type>object SimpleXMLElement</type><methodname>simplexml_load_string</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
@ -48,7 +48,7 @@ var_dump($xml);
|
|||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
simplexml_element Object
|
||||
SimpleXMLElement Object
|
||||
(
|
||||
[title] => Forty What?
|
||||
[from] => Joe
|
||||
|
|
Loading…
Reference in a new issue