com doc/fr: Apply commit 2d2492f8d5173b0c8e166e6516746811d7641496: reference/simplexml/functions/simplexml-import-dom.xml
[email protected] (George Peter Banyard) Wed, 17 Feb 2021 03:38:10 +0000
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
Commit: e9535c1838be4496eacfa7b2a9351b91cfc22124 Author: George Peter Banyard <[email protected]> Wed, 17 Feb 2021 03:38:10 +0000 Parents: b9ba145e646f47ab08a4bb5f5d9e18d49144428a Branches: master Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=e9535c1838be4496eacfa7b2a9351b91cfc22124 Log: Apply commit 2d2492f8d5173b0c8e166e6516746811d7641496 Fixed simplexml_import_dom return type Changed paths: M reference/simplexml/functions/simplexml-import-dom.xml Diff: diff --git a/reference/simplexml/functions/simplexml-import-dom.xml b/reference/simplexml/functions/simplexml-import-dom.xml index a4b2d9436c..1fcf762969 100644 --- a/reference/simplexml/functions/simplexml-import-dom.xml +++ b/reference/simplexml/functions/simplexml-import-dom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 2d2492f8d5173b0c8e166e6516746811d7641496 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id='function.simplexml-import-dom' xmlns="http://docbook.org/ns/docbook"> @@ -12,14 +12,14 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type class="union"><type>SimpleXMLElement</type><type>false</type></type><methodname>simplexml_import_dom</methodname> + <type class="union"><type>SimpleXMLElement</type><type>null</type></type><methodname>simplexml_import_dom</methodname> <methodparam><type>DOMNode</type><parameter>node</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>class_name</parameter><initializer>"SimpleXMLElement"</initializer></methodparam> </methodsynopsis> <para> - <function>simplexml_import_dom</function> prend un noeud + <function>simplexml_import_dom</function> prend un nœud d'un document <link linkend="book.dom">DOM</link> - et la transforme en noeud <classname>SimpleXML</classname>. + et la transforme en nœud <classname>SimpleXML</classname>. Ce nouvel objet peut alors être utilisé comme un objet natif <classname>SimpleXML</classname>. </para> @@ -55,9 +55,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne un objet <classname>SimpleXMLElement</classname>&return.falseforfailure;. + Retourne un objet <classname>SimpleXMLElement</classname> ou &null; en cas d'échec. </para> - &return.falseproblem; </refsect1> <refsect1 role="examples">