svn: /phpdoc/fr/trunk/ language/functions.xml reference/xmlreader/xmlreader/getattribute.xml
| From: | Yannick Torres | Date: | Fri, 22 Jul 2011 09:10:15 +0000 |
| Subject: | svn: /phpdoc/fr/trunk/ language/functions.xml reference/xmlreader/xmlreader/getattribute.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-8651@lists.php.net to get a copy of this message | ||
yannick Fri, 22 Jul 2011 09:10:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313573
Log:
sync with EN
Changed paths:
U phpdoc/fr/trunk/language/functions.xml
U phpdoc/fr/trunk/reference/xmlreader/xmlreader/getattribute.xml
Modified: phpdoc/fr/trunk/language/functions.xml
===================================================================
--- phpdoc/fr/trunk/language/functions.xml 2011-07-22 08:01:59 UTC (rev 313572)
+++ phpdoc/fr/trunk/language/functions.xml 2011-07-22 09:10:15 UTC (rev 313573)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307518 Maintainer: jpauli Status: ready -->
+<!-- EN-Revision: 312786 Maintainer: jpauli Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="language.functions" xmlns="http://docbook.org/ns/docbook">
@@ -558,12 +558,12 @@
</programlisting>
</example>
</para>
- <para>
- Lors de l'appel à des méthodes statiques, l'appel fonction est meilleur que
- l'opérateur de propriété statique :
- <example>
- <title>Exemple de méthode variable avec des propriétés statiques</title>
- <programlisting role="php">
+ <para>
+ Lors de l'appel à des méthodes statiques, l'appel fonction est meilleur que
+ l'opérateur de propriété statique :
+ <example>
+ <title>Exemple de méthode variable avec des propriétés statiques</title>
+ <programlisting role="php">
<![CDATA[
<?php
class Foo
@@ -581,9 +581,9 @@
?>
]]>
- </programlisting>
- </example>
- </para>
+ </programlisting>
+ </example>
+ </para>
<para>
Voir aussi
<function>call_user_func</function>,
@@ -781,6 +781,13 @@
<note>
<simpara>
+ Il n'était pas possible d'utiliser <varname>$this</varname>
+ depuis une fonction anonyme avant la version 5.4.0 de PHP.
+ </simpara>
+ </note>
+
+ <note>
+ <simpara>
Il est possible d'utiliser les fonctions <function>func_num_args</function>,
<function>func_get_arg</function> et <function>func_get_args</function>
dans une fonction anonyme.
Modified: phpdoc/fr/trunk/reference/xmlreader/xmlreader/getattribute.xml
===================================================================
--- phpdoc/fr/trunk/reference/xmlreader/xmlreader/getattribute.xml 2011-07-22 08:01:59 UTC (rev
313572)
+++ phpdoc/fr/trunk/reference/xmlreader/xmlreader/getattribute.xml 2011-07-22 09:10:15 UTC (rev
313573)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 313381 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="xmlreader.getattribute" xmlns="http://docbook.org/ns/docbook">
@@ -38,11 +38,38 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- La valeur de l'attribut ou une chaîne de caractères vide si l'attribut avec
+ La valeur de l'attribut ou &null; si l'attribut avec
le <parameter>name</parameter> donné n'existe pas ou n'est pas
positionné
sur l'élément.
</para>
</refsect1>
+
+ <refsect1 role="changelog"><!-- {{{ -->
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.1.3</entry>
+ <entry>
+ Retourne &null; si aucun attribut n'est trouvé.
+ Précédemment, la fonction retournait une chaîne vide
+ dans ce cas.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1><!-- }}} -->
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>