com doc/fr: Apply commit 98df2cf9a939729d73adee1484ec05929c74c98b: reference/reflection/reflectionclass.xml
reference/reflection/reflectionclass/construct.xml reference/reflection/reflectionclass/getconstants.xml
reference/reflection/reflectionclass/getconstructor.xml reference/reflection/reflectionclass/getdoccomment.xml
reference/reflection/reflectionclass/getendline.xml reference/reflection/reflectionclass/getextension.xml reference/reflection
| From: | George Peter Banyard | Date: | Sat, 02 Jan 2021 16:09:57 +0000 |
| Subject: | com doc/fr: Apply commit 98df2cf9a939729d73adee1484ec05929c74c98b: reference/reflection/reflectionclass.xml reference/reflection/reflectionclass/construct.xml reference/reflection/reflectionclass/getconstants.xml reference/reflection/reflectionclass/getconstructor.xml reference/reflection/reflectionclass/getdoccomment.xml reference/reflection/reflectionclass/getendline.xml reference/reflection/reflectionclass/getextension.xml reference/reflection |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-13448@lists.php.net to get a copy of this message | ||
Commit: 48c6afeb13eafc530631458e4a087e2edb123fd8
Author: George Peter Banyard <girgias@php.net> Sat, 2 Jan 2021 17:09:57 +0100
Parents: e4603fa01044971398dae454df8f52f8bd206f1e
Branches: master
Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=48c6afeb13eafc530631458e4a087e2edb123fd8
Log:
Apply commit 98df2cf9a939729d73adee1484ec05929c74c98b
Generate reflection methodsynopses based on stubs
Changed paths:
M reference/reflection/reflectionclass.xml
M reference/reflection/reflectionclass/construct.xml
M reference/reflection/reflectionclass/getconstants.xml
M reference/reflection/reflectionclass/getconstructor.xml
M reference/reflection/reflectionclass/getdoccomment.xml
M reference/reflection/reflectionclass/getendline.xml
M reference/reflection/reflectionclass/getextension.xml
M reference/reflection/reflectionclass/getextensionname.xml
M reference/reflection/reflectionclass/getfilename.xml
M reference/reflection/reflectionclass/getmethods.xml
M reference/reflection/reflectionclass/getparentclass..xml
M reference/reflection/reflectionclass/getproperties.xml
M reference/reflection/reflectionclass/getreflectionconstants.xml
M reference/reflection/reflectionclass/getstartline.xml
M reference/reflection/reflectionclass/getstaticproperties.xml
M reference/reflection/reflectionclass/issubclassof.xml
M reference/reflection/reflectionclass/newinstanceargs.xml
M reference/reflection/reflectionclassconstant.xml
M reference/reflection/reflectionclassconstant/construct.xml
M reference/reflection/reflectionclassconstant/getdoccomment.xml
M reference/reflection/reflectionclassconstant/getname.xml
M reference/reflection/reflectionextension.xml
M reference/reflection/reflectionextension/construct.xml
M reference/reflection/reflectionextension/getversion.xml
M reference/reflection/reflectionextension/ispersistent.xml
M reference/reflection/reflectionextension/istemporary.xml
M reference/reflection/reflectionfunction.xml
M reference/reflection/reflectionfunction/construct.xml
M reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml
M reference/reflection/reflectionfunctionabstract/getclosurethis.xml
M reference/reflection/reflectionfunctionabstract/getdoccomment.xml
M reference/reflection/reflectionfunctionabstract/getendline.xml
M reference/reflection/reflectionfunctionabstract/getextension.xml
M reference/reflection/reflectionfunctionabstract/getextensionname.xml
M reference/reflection/reflectionfunctionabstract/getfilename.xml
M reference/reflection/reflectionfunctionabstract/getreturntype.xml
M reference/reflection/reflectionfunctionabstract/getstartline.xml
M reference/reflection/reflectiongenerator.xml
M reference/reflection/reflectiongenerator/construct.xml
M reference/reflection/reflectiongenerator/getthis.xml
M reference/reflection/reflectiongenerator/gettrace.xml
M reference/reflection/reflectionmethod.xml
M reference/reflection/reflectionmethod/construct.xml
M reference/reflection/reflectionmethod/getclosure.xml
M reference/reflection/reflectionmethod/invoke.xml
M reference/reflection/reflectionmethod/invokeargs.xml
M reference/reflection/reflectionobject.xml
M reference/reflection/reflectionobject/construct.xml
M reference/reflection/reflectionparameter.xml
M reference/reflection/reflectionparameter/construct.xml
M reference/reflection/reflectionparameter/getclass.xml
M reference/reflection/reflectionparameter/getdeclaringclass.xml
M reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml
M reference/reflection/reflectionparameter/gettype.xml
M reference/reflection/reflectionproperty.xml
M reference/reflection/reflectionproperty/construct.xml
M reference/reflection/reflectionproperty/getdoccomment.xml
M reference/reflection/reflectionproperty/getvalue.xml
M reference/reflection/reflectionproperty/isinitialized.xml
M reference/reflection/reflectiontype.xml
M reference/reflection/reflectionzendextension.xml
M reference/reflection/reflectionzendextension/construct.xml
diff --git a/reference/reflection/reflectionclass.xml b/reference/reflection/reflectionclass.xml index 3126ed468b..91b3894c05 100644 --- a/reference/reflection/reflectionclass.xml +++ b/reference/reflection/reflectionclass.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionclass" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -66,6 +66,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionclass/construct.xml b/reference/reflection/reflectionclass/construct.xml index fd357197ac..76e8c540bb 100644 --- a/reference/reflection/reflectionclass/construct.xml +++ b/reference/reflection/reflectionclass/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b11f2fefd5b420bd4c58e63b1a5e3b9c8aa4426f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionClass::__construct</methodname> - <methodparam><type>mixed</type><parameter>argument</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrClass</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionClass</classname>. </para> @@ -25,7 +24,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>argument</parameter></term> + <term><parameter>objectOrClass</parameter></term> <listitem> <para> Soit une &string; contenant le nom de la classe à refléter, @@ -142,7 +141,6 @@ Class [ <internal:Core> class Exception ] { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getconstants.xml b/reference/reflection/reflectionclass/getconstants.xml index 67413956c3..45aaf03c04 100644 --- a/reference/reflection/reflectionclass/getconstants.xml +++ b/reference/reflection/reflectionclass/getconstants.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c957c1054f209bf7785a192036505881d3d4f1a1 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="reflectionclass.getconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getConstants</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère toutes les constantes définies d'une classe, quelle que soit leur visibilité. @@ -23,7 +23,19 @@ <refsect1 role="parameters"> &reftitle.parameters; - &no.function.parameters; + <variablelist> + <varlistentry> + <term><parameter>filter</parameter></term> + <listitem> + <para> + Le filtre optionnel, pour filter les constantes avec la visibilité désiré. C'est configuré en + utilisant les + <link linkend="reflectionclassconstant.constants.modifiers">constantes ReflectionClassConstant</link>, + et par défaut récupère toutes les constantes peut importe la visibilité. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1 role="returnvalues"> @@ -34,6 +46,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>filter</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -44,7 +78,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getconstructor.xml b/reference/reflection/reflectionclass/getconstructor.xml index 3bd04a3d05..9f9d9e732e 100644 --- a/reference/reflection/reflectionclass/getconstructor.xml +++ b/reference/reflection/reflectionclass/getconstructor.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 754904a1331945fa729eb1123cf0880ecd0ee4e4 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getconstructor" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getConstructor</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionMethod</type> <methodname>ReflectionClass::getConstructor</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionMethod</type><type>null</type></type><methodname>ReflectionClass::getConstructor</methodname> + <void/> </methodsynopsis> <para> Récupère le constructeur d'une classe. @@ -73,7 +72,6 @@ object(ReflectionMethod)#2 (2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getdoccomment.xml b/reference/reflection/reflectionclass/getdoccomment.xml index 6c37198741..562e6e6191 100644 --- a/reference/reflection/reflectionclass/getdoccomment.xml +++ b/reference/reflection/reflectionclass/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9e14201d440e1e8c14d4f24ecbffe63b558f927 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère les commentaires de documentation depuis une classe. @@ -82,7 +81,6 @@ string(55) "/** </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getendline.xml b/reference/reflection/reflectionclass/getendline.xml index ea410eb412..62bd5ff59b 100644 --- a/reference/reflection/reflectionclass/getendline.xml +++ b/reference/reflection/reflectionclass/getendline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68988888449c62d0435f9f2080aabda5049c0f51 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getendline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getEndLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionClass::getEndLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionClass::getEndLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de la dernière ligne depuis une définition @@ -72,7 +71,6 @@ echo $rc->getEndLine(); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getextension.xml b/reference/reflection/reflectionclass/getextension.xml index 363ea93a95..cefdb1a6f3 100644 --- a/reference/reflection/reflectionclass/getextension.xml +++ b/reference/reflection/reflectionclass/getextension.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9202b651d126b52612e9740af3beb84ea0977fc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getextension" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getExtension</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionExtension</type><methodname>ReflectionClass::getExtension</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionExtension</type><type>null</type></type><methodname>ReflectionClass::getExtension</methodname> + <void/> </methodsynopsis> <para> Récupère un objet <classname>ReflectionExtension</classname> pour l'extension @@ -72,7 +71,6 @@ object(ReflectionExtension)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getextensionname.xml b/reference/reflection/reflectionclass/getextensionname.xml index e2c341df02..826b02074c 100644 --- a/reference/reflection/reflectionclass/getextensionname.xml +++ b/reference/reflection/reflectionclass/getextensionname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9202b651d126b52612e9740af3beb84ea0977fc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getextensionname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getExtensionName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getExtensionName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getExtensionName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom de l'extension qui définit la classe. @@ -68,7 +67,6 @@ string(10) "Reflection" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getfilename.xml b/reference/reflection/reflectionclass/getfilename.xml index c0333a875a..ce5e2a78da 100644 --- a/reference/reflection/reflectionclass/getfilename.xml +++ b/reference/reflection/reflectionclass/getfilename.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 314d5d831f51c844aa0ede08962d99e3c861d18e Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getFileName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getFileName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getFileName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom du fichier où la classe a été déclaré. @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getmethods.xml b/reference/reflection/reflectionclass/getmethods.xml index b30d092dd8..7478db9262 100644 --- a/reference/reflection/reflectionclass/getmethods.xml +++ b/reference/reflection/reflectionclass/getmethods.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 565b5f3de9d5a8d66c1e0b9c3e2226c69f089bcb Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getmethods" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getMethods</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getMethods</methodname> - <methodparam choice="opt"><type>int</type><parameter>filter</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère un tableau des méthodes d'une classe. @@ -64,6 +63,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.2.0</entry> + <entry> + <parameter>filter</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -168,7 +189,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getparentclass.xml b/reference/reflection/reflectionclass/getparentclass.xml index f9cf94615d..4325c7d125 100644 --- a/reference/reflection/reflectionclass/getparentclass.xml +++ b/reference/reflection/reflectionclass/getparentclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 299208586994ab8e418d80c79963087203ddf7dc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getparentclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getParentClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionClass::getParentClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>false</type></type><methodname>ReflectionClass::getParentClass</methodname> + <void/> </methodsynopsis> <para> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getproperties.xml b/reference/reflection/reflectionclass/getproperties.xml index ff0cdda9f9..6b01c62c3b 100644 --- a/reference/reflection/reflectionclass/getproperties.xml +++ b/reference/reflection/reflectionclass/getproperties.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getproperties" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getProperties</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getProperties</methodname> - <methodparam choice="opt"><type>int</type><parameter>filter</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère les propriétés reflétées. @@ -48,6 +47,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.2.0</entry> + <entry> + <parameter>filter</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionclass.getproperties.example.filter"> @@ -119,7 +140,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getreflectionconstants.xml b/reference/reflection/reflectionclass/getreflectionconstants.xml index 349bdc6e59..345f09b851 100644 --- a/reference/reflection/reflectionclass/getreflectionconstants.xml +++ b/reference/reflection/reflectionclass/getreflectionconstants.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481c11df80492f5e6784e2e84b9a6357ad58c765 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getreflectionconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getReflectionConstants</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getReflectionConstants</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère les constantes réfléchies. @@ -22,7 +21,19 @@ <refsect1 role="parameters"> &reftitle.parameters; - &no.function.parameters; + <variablelist> + <varlistentry> + <term><parameter>filter</parameter></term> + <listitem> + <para> + Le filtre optionnel, pour filter les constantes avec la visibilité désiré. C'est configuré en + utilisant les + <link linkend="reflectionclassconstant.constants.modifiers">constantes ReflectionClassConstant</link>, + et par défaut récupère toutes les constantes peut importe la visibilité. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1 role="returnvalues"> @@ -32,6 +43,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>filter</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionclass.getreflectionconstants.example"> @@ -104,7 +137,6 @@ array(3) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getstartline.xml b/reference/reflection/reflectionclass/getstartline.xml index 6994ce463a..55aa24de2f 100644 --- a/reference/reflection/reflectionclass/getstartline.xml +++ b/reference/reflection/reflectionclass/getstartline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getstartline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getStartLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionClass::getStartLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionClass::getStartLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de ligne de départ. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le numéro de ligne de départ, sous la forme d'un &integer;. + Le numéro de ligne de départ, en tant que <type>int</type>, ou &false; is inconnue. </para> </refsect1> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getstaticproperties.xml b/reference/reflection/reflectionclass/getstaticproperties.xml index 9cda6bff68..f420655993 100644 --- a/reference/reflection/reflectionclass/getstaticproperties.xml +++ b/reference/reflection/reflectionclass/getstaticproperties.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getstaticproperties" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getStaticProperties</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getStaticProperties</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>array</type><type>null</type></type><methodname>ReflectionClass::getStaticProperties</methodname> + <void/> </methodsynopsis> <para> Récupère les propriétés statiques. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Les propriétés statiques, sous la forme d'un &array;. + Les propriétés statiques, en tant que <type>array</type>, ou &null; en cas d'échec. </para> </refsect1> @@ -46,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/issubclassof.xml b/reference/reflection/reflectionclass/issubclassof.xml index 9a46a25103..6e343a3949 100644 --- a/reference/reflection/reflectionclass/issubclassof.xml +++ b/reference/reflection/reflectionclass/issubclassof.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: bab9e5ad7f64052ed10322398302e47df6b6a533 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.issubclassof" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::isSubclassOf</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>ReflectionClass::isSubclassOf</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> + <methodparam><type class="union"><type>ReflectionClass</type><type>string</type></type><parameter>class</parameter></methodparam> </methodsynopsis> <para> Vérifie si la classe est une sous-classe de la classe spécifiée ou @@ -58,7 +57,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/newinstanceargs.xml b/reference/reflection/reflectionclass/newinstanceargs.xml index a8c72b805b..fcf3c1bd78 100644 --- a/reference/reflection/reflectionclass/newinstanceargs.xml +++ b/reference/reflection/reflectionclass/newinstanceargs.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: itanea Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: itanea Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.newinstanceargs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::newInstanceArgs</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>object</type><methodname>ReflectionClass::newInstanceArgs</methodname> - <methodparam choice="opt"><type>array</type><parameter>args</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>args</parameter><initializer>[]</initializer></methodparam> </methodsynopsis> <para> Créer une nouvelle instance de la classe en utilisant @@ -95,7 +94,6 @@ object(ReflectionFunction)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant.xml b/reference/reflection/reflectionclassconstant.xml index 8f6445f2b0..77bc0da7ac 100644 --- a/reference/reflection/reflectionclassconstant.xml +++ b/reference/reflection/reflectionclassconstant.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: cf616ef1f0bd14778a591210de8a231fa564e863 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionclassconstant" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -38,6 +38,23 @@ </oointerface> </classsynopsisinfo> <!-- }}} --> + <classsynopsisinfo role="comment">&Constants;</classsynopsisinfo> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-public">ReflectionClassConstant::IS_PUBLIC</varname> + </fieldsynopsis> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-protected">ReflectionClassConstant::IS_PROTECTED</varname> + </fieldsynopsis> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-private">ReflectionClassConstant::IS_PRIVATE</varname> + </fieldsynopsis> + <classsynopsisinfo role="comment">&Properties;</classsynopsisinfo> <fieldsynopsis> <modifier>public</modifier> @@ -50,6 +67,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclassconstant')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclassconstant')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> @@ -83,6 +103,45 @@ </section> <!-- }}} --> +<!-- {{{ ReflectionClassConstant constants --> + <section xml:id="reflectionclassconstant.constants"> + &reftitle.constants; + <section xml:id="reflectionclassconstant.constants.modifiers"> + <title>Modificateur ReflectionClassConstant</title> + <variablelist> + + <varlistentry xml:id="reflectionclassconstant.constants.is-public"> + <term><constant>ReflectionClassConstant::IS_PUBLIC</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">public</link>. + </para> + </listitem> + </varlistentry> + + <varlistentry xml:id="reflectionclassconstant.constants.is-protected"> + <term><constant>ReflectionClassConstant::IS_PROTECTED</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">protected</link>. + </para> + </listitem> + </varlistentry> + + <varlistentry xml:id="reflectionclassconstant.constants.is-private"> + <term><constant>ReflectionClassConstant::IS_PRIVATE</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">private</link>. + </para> + </listitem> + </varlistentry> + + </variablelist> + </section> + </section> +<!-- }}} --> + </partintro> &reference.reflection.entities.reflectionclassconstant; diff --git a/reference/reflection/reflectionclassconstant/construct.xml b/reference/reflection/reflectionclassconstant/construct.xml index 2b59dc9b91..0a26ef456c 100644 --- a/reference/reflection/reflectionclassconstant/construct.xml +++ b/reference/reflection/reflectionclassconstant/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: cf616ef1f0bd14778a591210de8a231fa564e863 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionClassConstant::__construct</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>class</parameter></methodparam> + <methodparam><type>string</type><parameter>constant</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionClassConstant</classname>. </para> @@ -34,7 +33,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>constant</parameter></term> <listitem> <para> Le nom de la constante de classe. @@ -69,7 +68,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant/getdoccomment.xml b/reference/reflection/reflectionclassconstant/getdoccomment.xml index 1db1309f64..fa0c44b5e3 100644 --- a/reference/reflection/reflectionclassconstant/getdoccomment.xml +++ b/reference/reflection/reflectionclassconstant/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481c11df80492f5e6784e2e84b9a6357ad58c765 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClassConstant::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClassConstant::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère le commentaire de documentation d'une constante de classe. @@ -33,7 +32,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant/getname.xml b/reference/reflection/reflectionclassconstant/getname.xml index f8854c86a5..ccc2bc5b94 100644 --- a/reference/reflection/reflectionclassconstant/getname.xml +++ b/reference/reflection/reflectionclassconstant/getname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 0dad2268d5adb19f77270aa2a9515a4bfbca9b22 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.getname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::getName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClassConstant::getName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClassConstant::getName</methodname> + <void/> </methodsynopsis> </refsect1> @@ -25,13 +24,12 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne le nom de la constante. + Retourne le nom de la constante, &return.falseforfailure;. </para> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension.xml b/reference/reflection/reflectionextension.xml index 6be261e8e9..de6d738f4b 100644 --- a/reference/reflection/reflectionextension.xml +++ b/reference/reflection/reflectionextension.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b5ac8ca1e844138feb22b62feee67e2618a4696f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionextension" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -46,6 +46,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionextension')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionextension/construct.xml b/reference/reflection/reflectionextension/construct.xml index 1a7ae5b199..23aa774290 100644 --- a/reference/reflection/reflectionextension/construct.xml +++ b/reference/reflection/reflectionextension/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 656d1610af1a960d87c8b7056e54d0d4c75fb123 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionExtension::__construct</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> Construit un &object; <classname>ReflectionExtension</classname>. </para> @@ -78,7 +77,6 @@ Extension: Reflection (version: $Revision$) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/getversion.xml b/reference/reflection/reflectionextension/getversion.xml index d8b40384f3..579c04e248 100644 --- a/reference/reflection/reflectionextension/getversion.xml +++ b/reference/reflection/reflectionextension/getversion.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.getversion" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::getVersion</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionExtension::getVersion</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>ReflectionExtension::getVersion</methodname> + <void/> </methodsynopsis> <para> Récupère la version de l'extension. @@ -28,7 +27,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La version de l'extension. + La version de l'extension, ou &null; si l'extension n'a pas de version. </para> </refsect1> @@ -65,7 +64,6 @@ string(3) "0.1" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/ispersistent.xml b/reference/reflection/reflectionextension/ispersistent.xml index 3ebd29f048..4792b6f821 100644 --- a/reference/reflection/reflectionextension/ispersistent.xml +++ b/reference/reflection/reflectionextension/ispersistent.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.ispersistent" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::isPersistent</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>ReflectionExtension::isPersistent</methodname> - <void /> + <modifier>public</modifier> <type>bool</type><methodname>ReflectionExtension::isPersistent</methodname> + <void/> </methodsynopsis> <para> @@ -47,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/istemporary.xml b/reference/reflection/reflectionextension/istemporary.xml index 7b4645b5ff..9e0f0004e4 100644 --- a/reference/reflection/reflectionextension/istemporary.xml +++ b/reference/reflection/reflectionextension/istemporary.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.istemporary" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::isTemporary</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>ReflectionExtension::isTemporary</methodname> - <void /> + <modifier>public</modifier> <type>bool</type><methodname>ReflectionExtension::isTemporary</methodname> + <void/> </methodsynopsis> <para> @@ -47,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunction.xml b/reference/reflection/reflectionfunction.xml index be32c3b9f7..d6bbf6727e 100644 --- a/reference/reflection/reflectionfunction.xml +++ b/reference/reflection/reflectionfunction.xml @@ -59,6 +59,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionfunction')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionfunction')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionfunction/construct.xml b/reference/reflection/reflectionfunction/construct.xml index f727968eee..6cb49aad6d 100644 --- a/reference/reflection/reflectionfunction/construct.xml +++ b/reference/reflection/reflectionfunction/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 7f569e1f175adf1fbd0e462eba8d6bc82214c939 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionfunction.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunction::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionFunction::__construct</methodname> - <methodparam><type>mixed</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>Closure</type><type>string</type></type><parameter>function</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionFunction</classname>. </para> @@ -25,7 +24,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>function</parameter></term> <listitem> <para> Le nom de la fonction à refléter ou une @@ -47,7 +46,7 @@ <refsect1 role="errors"> &reftitle.errors; <para> - Une exception <classname>ReflectionException</classname> si le paramètre <parameter>name</parameter> + Une exception <classname>ReflectionException</classname> si le paramètre <parameter>function</parameter> contient une fonction invalide. </para> </refsect1> @@ -159,7 +158,6 @@ dumpReflectionFunction(new ReflectionFunction($counter2)); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml index 91c3455793..467d4b4115 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getclosurescopeclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getClosureScopeClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname> + <void/> </methodsynopsis> <para> @@ -37,7 +36,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml index c99896b6e2..0d36eaed84 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getclosurethis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getClosureThis</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>object</type><methodname>ReflectionFunctionAbstract::getClosureThis</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>object</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureThis</methodname> + <void/> </methodsynopsis> <para> @@ -38,7 +37,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getdoccomment.xml b/reference/reflection/reflectionfunctionabstract/getdoccomment.xml index 8632e57698..46d0b8e7e9 100644 --- a/reference/reflection/reflectionfunctionabstract/getdoccomment.xml +++ b/reference/reflection/reflectionfunctionabstract/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionFunctionAbstract::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère un commentaire depuis une fonction. @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getendline.xml b/reference/reflection/reflectionfunctionabstract/getendline.xml index fdf70eb523..7f39a059c6 100644 --- a/reference/reflection/reflectionfunctionabstract/getendline.xml +++ b/reference/reflection/reflectionfunctionabstract/getendline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 3ca0df20f79c1338285c7c5a4efdf01aa61dca6c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getendline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getEndLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionFunctionAbstract::getEndLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getEndLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de la dernière ligne. @@ -46,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getextension.xml b/reference/reflection/reflectionfunctionabstract/getextension.xml index 0f0a3e944a..e64303486f 100644 --- a/reference/reflection/reflectionfunctionabstract/getextension.xml +++ b/reference/reflection/reflectionfunctionabstract/getextension.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getextension" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getExtension</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionExtension</type><methodname>ReflectionFunctionAbstract::getExtension</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionExtension</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getExtension</methodname> + <void/> </methodsynopsis> <para> Récupère les informations d'une extension. @@ -32,7 +31,8 @@ &reftitle.returnvalues; <para> Les informations de l'extension, sous la forme d'un objet - <classname>ReflectionExtension</classname>. + <classname>ReflectionExtension</classname>, ou &null; pour les fonctions + définis par l'utilisateur. </para> </refsect1> @@ -46,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getextensionname.xml b/reference/reflection/reflectionfunctionabstract/getextensionname.xml index 9bd67d8e10..3214a54d01 100644 --- a/reference/reflection/reflectionfunctionabstract/getextensionname.xml +++ b/reference/reflection/reflectionfunctionabstract/getextensionname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getextensionname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getExtensionName</refname> @@ -31,7 +30,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le nom de l'extension. + Le nom de l'extension qui définit la fonction, + ou &false; pour les fonctions définis par l'utilisateur. </para> </refsect1> @@ -45,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getfilename.xml b/reference/reflection/reflectionfunctionabstract/getfilename.xml index 727e16fa8a..47464f9e27 100644 --- a/reference/reflection/reflectionfunctionabstract/getfilename.xml +++ b/reference/reflection/reflectionfunctionabstract/getfilename.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getFileName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionFunctionAbstract::getFileName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getFileName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom du fichier depuis une fonction définie @@ -32,7 +31,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le nom du fichier. + Retourne le nom du fichier du fichier dans lequel la fonction a été définie. + Si la classe est définie dans le coeur de PHP ou une extension PHP, &false; + est retourné. </para> </refsect1> @@ -46,7 +47,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getreturntype.xml b/reference/reflection/reflectionfunctionabstract/getreturntype.xml index 4de5b3473a..96d92457aa 100644 --- a/reference/reflection/reflectionfunctionabstract/getreturntype.xml +++ b/reference/reflection/reflectionfunctionabstract/getreturntype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionfunctionabstract.getreturntype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getReturnType</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionType</type><methodname>ReflectionFunctionAbstract::getReturnType</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionType</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getReturnType</methodname> + <void/> </methodsynopsis> <para> Récupère le type de retour définit pour une fonction reflété. @@ -95,7 +94,6 @@ null </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getstartline.xml b/reference/reflection/reflectionfunctionabstract/getstartline.xml index f87346e926..a139a6bb0b 100644 --- a/reference/reflection/reflectionfunctionabstract/getstartline.xml +++ b/reference/reflection/reflectionfunctionabstract/getstartline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getstartline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getStartLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionFunctionAbstract::getStartLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getStartLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de ligne de départ de la fonction. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le numéro de la ligne de départ. + Le numéro de la ligne de départ, ou &false; si inconnue. </para> </refsect1> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator.xml b/reference/reflection/reflectiongenerator.xml index 833afa3780..b1749574db 100644 --- a/reference/reflection/reflectiongenerator.xml +++ b/reference/reflection/reflectiongenerator.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectiongenerator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -35,6 +35,9 @@ </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> diff --git a/reference/reflection/reflectiongenerator/construct.xml b/reference/reflection/reflectiongenerator/construct.xml index e5243cf937..7f8d87dddd 100644 --- a/reference/reflection/reflectiongenerator/construct.xml +++ b/reference/reflection/reflectiongenerator/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionGenerator::__construct</methodname> <methodparam><type>Generator</type><parameter>generator</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> Construit un objet <classname>ReflectionGenerator</classname>. </para> @@ -92,7 +91,6 @@ File: /path/to/file/example.php </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator/getthis.xml b/reference/reflection/reflectiongenerator/getthis.xml index f9be3d5696..514e8eb453 100644 --- a/reference/reflection/reflectiongenerator/getthis.xml +++ b/reference/reflection/reflectiongenerator/getthis.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.getthis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::getThis</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>object</type><methodname>ReflectionGenerator::getThis</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>object</type><type>null</type></type><methodname>ReflectionGenerator::getThis</methodname> + <void/> </methodsynopsis> <para> Récupère la valeur de <literal>$this</literal> du générateur auquel il a accès. @@ -79,7 +78,6 @@ object(GenExample)#3 (0) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator/gettrace.xml b/reference/reflection/reflectiongenerator/gettrace.xml index 986213347a..a2a1b71b74 100644 --- a/reference/reflection/reflectiongenerator/gettrace.xml +++ b/reference/reflection/reflectiongenerator/gettrace.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481248b3a19c4115e3e1dc41e554bef330a97fa9 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::getTrace</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionGenerator::getTrace</methodname> - <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>DEBUG_BACKTRACE_PROVIDE_OBJECT</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer><constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant></initializer></methodparam> </methodsynopsis> <para> Récupère la trace du générateur actuellement exécuté. @@ -150,7 +149,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod.xml b/reference/reflection/reflectionmethod.xml index d598d0bba8..64f7b18aca 100644 --- a/reference/reflection/reflectionmethod.xml +++ b/reference/reflection/reflectionmethod.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionmethod" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -93,6 +93,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionmethod')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionmethod')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionmethod/construct.xml b/reference/reflection/reflectionmethod/construct.xml index b5480317e4..b0b6721dc6 100644 --- a/reference/reflection/reflectionmethod/construct.xml +++ b/reference/reflection/reflectionmethod/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 72502df5f5ad7d2f4fbf8dba58d9b882a2a79f11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::__construct</refname> @@ -11,15 +10,16 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname> - <methodparam><type class="union"><type>string</type><type>object</type></type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam> + </constructorsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname> - <methodparam><type>string</type><parameter>class_method</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionMethod</classname>. </para> @@ -31,7 +31,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>class</parameter></term> + <term><parameter>objectOrMethod</parameter></term> <listitem> <para> Nom de classe -ou instance de celle-ci- qui contient la méthode. @@ -39,7 +39,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>method</parameter></term> <listitem> <para> Nom de la méthode. @@ -47,7 +47,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>class_method</parameter></term> + <term><parameter>objectOrMethod</parameter></term> <listitem> <para> Nom de classe et de méthode délimités par <literal>::</literal>. @@ -171,7 +171,6 @@ var_dump($method->invoke(NULL)); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/getclosure.xml b/reference/reflection/reflectionmethod/getclosure.xml index c9acb87680..e22b9343c6 100644 --- a/reference/reflection/reflectionmethod/getclosure.xml +++ b/reference/reflection/reflectionmethod/getclosure.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68908757049be877e7b7d3cf73eaff2a31e574b0 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.getclosure" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::getClosure</refname> @@ -13,11 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>Closure</type><methodname>ReflectionMethod::getClosure</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> - <modifier>public</modifier> <type>Closure</type><methodname>ReflectionMethod::getClosure</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> @@ -49,9 +44,28 @@ </para> </refsect1> - + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/invoke.xml b/reference/reflection/reflectionmethod/invoke.xml index 92ad5cfdc7..2107040309 100644 --- a/reference/reflection/reflectionmethod/invoke.xml +++ b/reference/reflection/reflectionmethod/invoke.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionmethod.invoke" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::invoke</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invoke</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter></methodparam> <methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> @@ -117,7 +116,6 @@ Hello Mike </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/invokeargs.xml b/reference/reflection/reflectionmethod/invokeargs.xml index 9435b0170e..0004f7213a 100644 --- a/reference/reflection/reflectionmethod/invokeargs.xml +++ b/reference/reflection/reflectionmethod/invokeargs.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: fcddfb2551140fba9a14a4c44dc9fa60004440c8 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.invokeargs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::invokeArgs</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invokeArgs</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter></methodparam> <methodparam><type>array</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> @@ -118,7 +117,6 @@ Hello Mike </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionobject.xml b/reference/reflection/reflectionobject.xml index 25a5b02fbd..5ed82cdd5e 100644 --- a/reference/reflection/reflectionobject.xml +++ b/reference/reflection/reflectionobject.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 437bbf134e015c678f9d4b8a5b8da53429a9a12d Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionobject" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -55,6 +55,9 @@ </fieldsynopsis> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionobject/construct.xml b/reference/reflection/reflectionobject/construct.xml index a4e87abc54..2d3304ad09 100644 --- a/reference/reflection/reflectionobject/construct.xml +++ b/reference/reflection/reflectionobject/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: d8b968e63cba67a082e6e37aee1ebe7821b41258 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionobject.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionObject::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionObject::__construct</methodname> - <methodparam><type>object</type><parameter>argument</parameter></methodparam> - </methodsynopsis> + <methodparam><type>object</type><parameter>object</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionObject</classname>. </para> @@ -28,7 +27,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>argument</parameter></term> + <term><parameter>object</parameter></term> <listitem> <para> Une instance d'un objet. @@ -57,7 +56,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter.xml b/reference/reflection/reflectionparameter.xml index c008685bd0..e38305249d 100644 --- a/reference/reflection/reflectionparameter.xml +++ b/reference/reflection/reflectionparameter.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionparameter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -53,6 +53,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionparameter/construct.xml b/reference/reflection/reflectionparameter/construct.xml index d99bb7bda7..8cd6ef814b 100644 --- a/reference/reflection/reflectionparameter/construct.xml +++ b/reference/reflection/reflectionparameter/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 0ce6b8da1e967544dce7e303a798ffa1a8033f74 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionParameter::__construct</methodname> - <methodparam><type>callable</type><parameter>function</parameter></methodparam> - <methodparam><type>mixed</type><parameter>parameter</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>string</type><type>array</type><type>object</type></type><parameter>function</parameter></methodparam> + <methodparam><type class="union"><type>int</type><type>string</type></type><parameter>param</parameter></methodparam> + </constructorsynopsis> <para> Construit une instance <classname>ReflectionParameter</classname>. </para> @@ -34,10 +33,10 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>parameter</parameter></term> + <term><parameter>param</parameter></term> <listitem> <para> - Soit un &integer; spécifiant la position du paramètre (commançant par + Soit un &integer; spécifiant la position du paramètre (commençant par zéro), soit le nom du paramètre en tant que &string;. </para> </listitem> @@ -138,7 +137,6 @@ Function [ <user> function foo ] { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getclass.xml b/reference/reflection/reflectionparameter/getclass.xml index 22d28b3fe0..76c0b31444 100644 --- a/reference/reflection/reflectionparameter/getclass.xml +++ b/reference/reflection/reflectionparameter/getclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 9f1bc3cef4629ba897706c2eefbd3084ddece5ff Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.getclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionParameter::getClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionParameter::getClass</methodname> + <void/> </methodsynopsis> <para> Récupère la classe de typage d'objets pour le paramètre comme @@ -32,7 +31,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Un objet <classname>ReflectionClass</classname>. + Un objet <classname>ReflectionClass</classname>, ou &null; si aucun type est déclaré, + ou le type déclaré n'est pas une classe ou interface. </para> </refsect1> @@ -74,7 +74,6 @@ Exception </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getdeclaringclass.xml b/reference/reflection/reflectionparameter/getdeclaringclass.xml index 5118be68ac..141228e184 100644 --- a/reference/reflection/reflectionparameter/getdeclaringclass.xml +++ b/reference/reflection/reflectionparameter/getdeclaringclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8172b8b80ec48a2263c33f53c78c2579a00e1e0 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.getdeclaringclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getDeclaringClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionParameter::getDeclaringClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionParameter::getDeclaringClass</methodname> + <void/> </methodsynopsis> <para> Récupère la classe déclarante. @@ -82,7 +81,6 @@ object(ReflectionClass)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml index 0f89fdd2b7..541671f995 100644 --- a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml +++ b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionparameter.getdefaultvalueconstantname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getDefaultValueConstantName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionParameter::getDefaultValueConstantName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>ReflectionParameter::getDefaultValueConstantName</methodname> + <void/> </methodsynopsis> <para> Retourne le nom de la constante qui sert de valeur par défault à un paramètre d'une @@ -113,7 +112,6 @@ Valeur par défault : PHP_INT_MIN </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/gettype.xml b/reference/reflection/reflectionparameter/gettype.xml index f27b9d4120..84dbb6257d 100644 --- a/reference/reflection/reflectionparameter/gettype.xml +++ b/reference/reflection/reflectionparameter/gettype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 83f9fa789aa526c3188fbb4e6c37268bac975761 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionparameter.gettype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getType</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionType</type><methodname>ReflectionParameter::getType</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionType</type><type>null</type></type><methodname>ReflectionParameter::getType</methodname> + <void/> </methodsynopsis> <para> Récupère le type associé d'un paramètre. @@ -109,7 +108,6 @@ NULL </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty.xml b/reference/reflection/reflectionproperty.xml index 958d6b5339..fd6bf06487 100644 --- a/reference/reflection/reflectionproperty.xml +++ b/reference/reflection/reflectionproperty.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionproperty" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -76,6 +76,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionproperty')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionproperty')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionproperty/construct.xml b/reference/reflection/reflectionproperty/construct.xml index 3d7cc3b51b..ec33df49dd 100644 --- a/reference/reflection/reflectionproperty/construct.xml +++ b/reference/reflection/reflectionproperty/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: d640c0f5e153f5d43a71eec4fff29111e539bfa3 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionProperty::__construct</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>class</parameter></methodparam> + <methodparam><type>string</type><parameter>property</parameter></methodparam> + </constructorsynopsis> <para> </para> @@ -32,12 +31,13 @@ <term><parameter>class</parameter></term> <listitem> <para> - Le nom de la classe, qui contient la propriété. + Soit une chaîne de caractère contenant le nom de la classe à introspecter, + ou un objet. </para> </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>property</parameter></term> <listitem> <para> Le nom de la propriété à refléter. @@ -172,7 +172,6 @@ int(3) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/getdoccomment.xml b/reference/reflection/reflectionproperty/getdoccomment.xml index 3982b1a1c2..5831bcd8af 100644 --- a/reference/reflection/reflectionproperty/getdoccomment.xml +++ b/reference/reflection/reflectionproperty/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 1c1b29f597bd56dcd072736f5ca601a4b6f54a72 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionProperty::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionProperty::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère le commentaire de documentation d'une propriété. @@ -28,7 +27,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le commentaire de documentation de la propriété. + Le commentaire de documentation s'il existe, sinon &false;. </para> </refsect1> @@ -111,7 +110,6 @@ b: false </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/getvalue.xml b/reference/reflection/reflectionproperty/getvalue.xml index 5c56ee81a9..e67cdf2f4f 100644 --- a/reference/reflection/reflectionproperty/getvalue.xml +++ b/reference/reflection/reflectionproperty/getvalue.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68b5b97731c78d84dc89381ae52e7b3832f93593 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.getvalue" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::getValue</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionProperty::getValue</methodname> - <methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère la valeur de la propriété. @@ -54,6 +53,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -105,7 +126,6 @@ string(6) "foofoo" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/isinitialized.xml b/reference/reflection/reflectionproperty/isinitialized.xml index cd8047c937..c48cc263eb 100644 --- a/reference/reflection/reflectionproperty/isinitialized.xml +++ b/reference/reflection/reflectionproperty/isinitialized.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c4c885db2f2c503824a21ce64901b6a98833d2a8 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionproperty.isinitialized" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::isInitialized</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>ReflectionProperty::isInitialized</methodname> - <methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Vérifie si une propriété est initialisée. @@ -54,6 +53,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionproperty.isinitialized.example.basic"> @@ -92,7 +113,6 @@ bool(true) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiontype.xml b/reference/reflection/reflectiontype.xml index eff12b1e42..134b5240ef 100644 --- a/reference/reflection/reflectiontype.xml +++ b/reference/reflection/reflectiontype.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c40f07c937efd99aa9ffcba126977e7536d1c2fd Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectiontype" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -36,6 +36,11 @@ </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <!-- + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiontype')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> + --> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiontype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"> <xi:fallback /> </xi:include> diff --git a/reference/reflection/reflectionzendextension.xml b/reference/reflection/reflectionzendextension.xml index d667bee480..459729ffb1 100644 --- a/reference/reflection/reflectionzendextension.xml +++ b/reference/reflection/reflectionzendextension.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionzendextension" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -45,6 +45,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionzendextension')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionzendextension')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionzendextension/construct.xml b/reference/reflection/reflectionzendextension/construct.xml index 10c4be2e0d..644bccf947 100644 --- a/reference/reflection/reflectionzendextension/construct.xml +++ b/reference/reflection/reflectionzendextension/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 656d1610af1a960d87c8b7056e54d0d4c75fb123 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionzendextension.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionZendExtension::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionZendExtension::__construct</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> </para> @@ -46,7 +45,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml
diff --git a/reference/reflection/reflectionclass.xml b/reference/reflection/reflectionclass.xml index 3126ed468b..91b3894c05 100644 --- a/reference/reflection/reflectionclass.xml +++ b/reference/reflection/reflectionclass.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionclass" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -66,6 +66,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionclass/construct.xml b/reference/reflection/reflectionclass/construct.xml index fd357197ac..76e8c540bb 100644 --- a/reference/reflection/reflectionclass/construct.xml +++ b/reference/reflection/reflectionclass/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b11f2fefd5b420bd4c58e63b1a5e3b9c8aa4426f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionClass::__construct</methodname> - <methodparam><type>mixed</type><parameter>argument</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrClass</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionClass</classname>. </para> @@ -25,7 +24,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>argument</parameter></term> + <term><parameter>objectOrClass</parameter></term> <listitem> <para> Soit une &string; contenant le nom de la classe à refléter, @@ -142,7 +141,6 @@ Class [ <internal:Core> class Exception ] { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getconstants.xml b/reference/reflection/reflectionclass/getconstants.xml index 67413956c3..45aaf03c04 100644 --- a/reference/reflection/reflectionclass/getconstants.xml +++ b/reference/reflection/reflectionclass/getconstants.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c957c1054f209bf7785a192036505881d3d4f1a1 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="reflectionclass.getconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getConstants</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère toutes les constantes définies d'une classe, quelle que soit leur visibilité. @@ -23,7 +23,19 @@ <refsect1 role="parameters"> &reftitle.parameters; - &no.function.parameters; + <variablelist> + <varlistentry> + <term><parameter>filter</parameter></term> + <listitem> + <para> + Le filtre optionnel, pour filter les constantes avec la visibilité désiré. C'est configuré en + utilisant les + <link linkend="reflectionclassconstant.constants.modifiers">constantes ReflectionClassConstant</link>, + et par défaut récupère toutes les constantes peut importe la visibilité. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1 role="returnvalues"> @@ -34,6 +46,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>filter</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -44,7 +78,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getconstructor.xml b/reference/reflection/reflectionclass/getconstructor.xml index 3bd04a3d05..9f9d9e732e 100644 --- a/reference/reflection/reflectionclass/getconstructor.xml +++ b/reference/reflection/reflectionclass/getconstructor.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 754904a1331945fa729eb1123cf0880ecd0ee4e4 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getconstructor" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getConstructor</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionMethod</type> <methodname>ReflectionClass::getConstructor</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionMethod</type><type>null</type></type><methodname>ReflectionClass::getConstructor</methodname> + <void/> </methodsynopsis> <para> Récupère le constructeur d'une classe. @@ -73,7 +72,6 @@ object(ReflectionMethod)#2 (2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getdoccomment.xml b/reference/reflection/reflectionclass/getdoccomment.xml index 6c37198741..562e6e6191 100644 --- a/reference/reflection/reflectionclass/getdoccomment.xml +++ b/reference/reflection/reflectionclass/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9e14201d440e1e8c14d4f24ecbffe63b558f927 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère les commentaires de documentation depuis une classe. @@ -82,7 +81,6 @@ string(55) "/** </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getendline.xml b/reference/reflection/reflectionclass/getendline.xml index ea410eb412..62bd5ff59b 100644 --- a/reference/reflection/reflectionclass/getendline.xml +++ b/reference/reflection/reflectionclass/getendline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68988888449c62d0435f9f2080aabda5049c0f51 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getendline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getEndLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionClass::getEndLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionClass::getEndLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de la dernière ligne depuis une définition @@ -72,7 +71,6 @@ echo $rc->getEndLine(); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getextension.xml b/reference/reflection/reflectionclass/getextension.xml index 363ea93a95..cefdb1a6f3 100644 --- a/reference/reflection/reflectionclass/getextension.xml +++ b/reference/reflection/reflectionclass/getextension.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9202b651d126b52612e9740af3beb84ea0977fc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getextension" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getExtension</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionExtension</type><methodname>ReflectionClass::getExtension</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionExtension</type><type>null</type></type><methodname>ReflectionClass::getExtension</methodname> + <void/> </methodsynopsis> <para> Récupère un objet <classname>ReflectionExtension</classname> pour l'extension @@ -72,7 +71,6 @@ object(ReflectionExtension)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getextensionname.xml b/reference/reflection/reflectionclass/getextensionname.xml index e2c341df02..826b02074c 100644 --- a/reference/reflection/reflectionclass/getextensionname.xml +++ b/reference/reflection/reflectionclass/getextensionname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f9202b651d126b52612e9740af3beb84ea0977fc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getextensionname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getExtensionName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getExtensionName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getExtensionName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom de l'extension qui définit la classe. @@ -68,7 +67,6 @@ string(10) "Reflection" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getfilename.xml b/reference/reflection/reflectionclass/getfilename.xml index c0333a875a..ce5e2a78da 100644 --- a/reference/reflection/reflectionclass/getfilename.xml +++ b/reference/reflection/reflectionclass/getfilename.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 314d5d831f51c844aa0ede08962d99e3c861d18e Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getFileName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClass::getFileName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClass::getFileName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom du fichier où la classe a été déclaré. @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getmethods.xml b/reference/reflection/reflectionclass/getmethods.xml index b30d092dd8..7478db9262 100644 --- a/reference/reflection/reflectionclass/getmethods.xml +++ b/reference/reflection/reflectionclass/getmethods.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 565b5f3de9d5a8d66c1e0b9c3e2226c69f089bcb Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getmethods" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getMethods</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getMethods</methodname> - <methodparam choice="opt"><type>int</type><parameter>filter</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère un tableau des méthodes d'une classe. @@ -64,6 +63,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.2.0</entry> + <entry> + <parameter>filter</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -168,7 +189,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getparentclass.xml b/reference/reflection/reflectionclass/getparentclass.xml index f9cf94615d..4325c7d125 100644 --- a/reference/reflection/reflectionclass/getparentclass.xml +++ b/reference/reflection/reflectionclass/getparentclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 299208586994ab8e418d80c79963087203ddf7dc Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getparentclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getParentClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionClass::getParentClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>false</type></type><methodname>ReflectionClass::getParentClass</methodname> + <void/> </methodsynopsis> <para> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getproperties.xml b/reference/reflection/reflectionclass/getproperties.xml index ff0cdda9f9..6b01c62c3b 100644 --- a/reference/reflection/reflectionclass/getproperties.xml +++ b/reference/reflection/reflectionclass/getproperties.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getproperties" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getProperties</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getProperties</methodname> - <methodparam choice="opt"><type>int</type><parameter>filter</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère les propriétés reflétées. @@ -48,6 +47,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.2.0</entry> + <entry> + <parameter>filter</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionclass.getproperties.example.filter"> @@ -119,7 +140,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getreflectionconstants.xml b/reference/reflection/reflectionclass/getreflectionconstants.xml index 349bdc6e59..345f09b851 100644 --- a/reference/reflection/reflectionclass/getreflectionconstants.xml +++ b/reference/reflection/reflectionclass/getreflectionconstants.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481c11df80492f5e6784e2e84b9a6357ad58c765 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclass.getreflectionconstants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getReflectionConstants</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getReflectionConstants</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>filter</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère les constantes réfléchies. @@ -22,7 +21,19 @@ <refsect1 role="parameters"> &reftitle.parameters; - &no.function.parameters; + <variablelist> + <varlistentry> + <term><parameter>filter</parameter></term> + <listitem> + <para> + Le filtre optionnel, pour filter les constantes avec la visibilité désiré. C'est configuré en + utilisant les + <link linkend="reflectionclassconstant.constants.modifiers">constantes ReflectionClassConstant</link>, + et par défaut récupère toutes les constantes peut importe la visibilité. + </para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1 role="returnvalues"> @@ -32,6 +43,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>filter</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionclass.getreflectionconstants.example"> @@ -104,7 +137,6 @@ array(3) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getstartline.xml b/reference/reflection/reflectionclass/getstartline.xml index 6994ce463a..55aa24de2f 100644 --- a/reference/reflection/reflectionclass/getstartline.xml +++ b/reference/reflection/reflectionclass/getstartline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getstartline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getStartLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionClass::getStartLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionClass::getStartLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de ligne de départ. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le numéro de ligne de départ, sous la forme d'un &integer;. + Le numéro de ligne de départ, en tant que <type>int</type>, ou &false; is inconnue. </para> </refsect1> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/getstaticproperties.xml b/reference/reflection/reflectionclass/getstaticproperties.xml index 9cda6bff68..f420655993 100644 --- a/reference/reflection/reflectionclass/getstaticproperties.xml +++ b/reference/reflection/reflectionclass/getstaticproperties.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.getstaticproperties" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::getStaticProperties</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getStaticProperties</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>array</type><type>null</type></type><methodname>ReflectionClass::getStaticProperties</methodname> + <void/> </methodsynopsis> <para> Récupère les propriétés statiques. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Les propriétés statiques, sous la forme d'un &array;. + Les propriétés statiques, en tant que <type>array</type>, ou &null; en cas d'échec. </para> </refsect1> @@ -46,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/issubclassof.xml b/reference/reflection/reflectionclass/issubclassof.xml index 9a46a25103..6e343a3949 100644 --- a/reference/reflection/reflectionclass/issubclassof.xml +++ b/reference/reflection/reflectionclass/issubclassof.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: bab9e5ad7f64052ed10322398302e47df6b6a533 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.issubclassof" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::isSubclassOf</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>ReflectionClass::isSubclassOf</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> + <methodparam><type class="union"><type>ReflectionClass</type><type>string</type></type><parameter>class</parameter></methodparam> </methodsynopsis> <para> Vérifie si la classe est une sous-classe de la classe spécifiée ou @@ -58,7 +57,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclass/newinstanceargs.xml b/reference/reflection/reflectionclass/newinstanceargs.xml index a8c72b805b..fcf3c1bd78 100644 --- a/reference/reflection/reflectionclass/newinstanceargs.xml +++ b/reference/reflection/reflectionclass/newinstanceargs.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: dd07341fae2c414adc1f700be0890ff32e8daab4 Maintainer: itanea Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: itanea Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionclass.newinstanceargs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClass::newInstanceArgs</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>object</type><methodname>ReflectionClass::newInstanceArgs</methodname> - <methodparam choice="opt"><type>array</type><parameter>args</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>args</parameter><initializer>[]</initializer></methodparam> </methodsynopsis> <para> Créer une nouvelle instance de la classe en utilisant @@ -95,7 +94,6 @@ object(ReflectionFunction)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant.xml b/reference/reflection/reflectionclassconstant.xml index 8f6445f2b0..77bc0da7ac 100644 --- a/reference/reflection/reflectionclassconstant.xml +++ b/reference/reflection/reflectionclassconstant.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: cf616ef1f0bd14778a591210de8a231fa564e863 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionclassconstant" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -38,6 +38,23 @@ </oointerface> </classsynopsisinfo> <!-- }}} --> + <classsynopsisinfo role="comment">&Constants;</classsynopsisinfo> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-public">ReflectionClassConstant::IS_PUBLIC</varname> + </fieldsynopsis> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-protected">ReflectionClassConstant::IS_PROTECTED</varname> + </fieldsynopsis> + <fieldsynopsis> + <modifier>const</modifier> + <type>int</type> + <varname linkend="reflectionclassconstant.constants.is-private">ReflectionClassConstant::IS_PRIVATE</varname> + </fieldsynopsis> + <classsynopsisinfo role="comment">&Properties;</classsynopsisinfo> <fieldsynopsis> <modifier>public</modifier> @@ -50,6 +67,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclassconstant')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclassconstant')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> @@ -83,6 +103,45 @@ </section> <!-- }}} --> +<!-- {{{ ReflectionClassConstant constants --> + <section xml:id="reflectionclassconstant.constants"> + &reftitle.constants; + <section xml:id="reflectionclassconstant.constants.modifiers"> + <title>Modificateur ReflectionClassConstant</title> + <variablelist> + + <varlistentry xml:id="reflectionclassconstant.constants.is-public"> + <term><constant>ReflectionClassConstant::IS_PUBLIC</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">public</link>. + </para> + </listitem> + </varlistentry> + + <varlistentry xml:id="reflectionclassconstant.constants.is-protected"> + <term><constant>ReflectionClassConstant::IS_PROTECTED</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">protected</link>. + </para> + </listitem> + </varlistentry> + + <varlistentry xml:id="reflectionclassconstant.constants.is-private"> + <term><constant>ReflectionClassConstant::IS_PRIVATE</constant></term> + <listitem> + <para> + Indique les constantes <link linkend="language.oop5.visibility">private</link>. + </para> + </listitem> + </varlistentry> + + </variablelist> + </section> + </section> +<!-- }}} --> + </partintro> &reference.reflection.entities.reflectionclassconstant; diff --git a/reference/reflection/reflectionclassconstant/construct.xml b/reference/reflection/reflectionclassconstant/construct.xml index 2b59dc9b91..0a26ef456c 100644 --- a/reference/reflection/reflectionclassconstant/construct.xml +++ b/reference/reflection/reflectionclassconstant/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: cf616ef1f0bd14778a591210de8a231fa564e863 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionClassConstant::__construct</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>class</parameter></methodparam> + <methodparam><type>string</type><parameter>constant</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionClassConstant</classname>. </para> @@ -34,7 +33,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>constant</parameter></term> <listitem> <para> Le nom de la constante de classe. @@ -69,7 +68,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant/getdoccomment.xml b/reference/reflection/reflectionclassconstant/getdoccomment.xml index 1db1309f64..fa0c44b5e3 100644 --- a/reference/reflection/reflectionclassconstant/getdoccomment.xml +++ b/reference/reflection/reflectionclassconstant/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481c11df80492f5e6784e2e84b9a6357ad58c765 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClassConstant::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClassConstant::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère le commentaire de documentation d'une constante de classe. @@ -33,7 +32,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionclassconstant/getname.xml b/reference/reflection/reflectionclassconstant/getname.xml index f8854c86a5..ccc2bc5b94 100644 --- a/reference/reflection/reflectionclassconstant/getname.xml +++ b/reference/reflection/reflectionclassconstant/getname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 0dad2268d5adb19f77270aa2a9515a4bfbca9b22 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionclassconstant.getname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionClassConstant::getName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionClassConstant::getName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionClassConstant::getName</methodname> + <void/> </methodsynopsis> </refsect1> @@ -25,13 +24,12 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne le nom de la constante. + Retourne le nom de la constante, &return.falseforfailure;. </para> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension.xml b/reference/reflection/reflectionextension.xml index 6be261e8e9..de6d738f4b 100644 --- a/reference/reflection/reflectionextension.xml +++ b/reference/reflection/reflectionextension.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b5ac8ca1e844138feb22b62feee67e2618a4696f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionextension" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -46,6 +46,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionclass')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionextension')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionextension/construct.xml b/reference/reflection/reflectionextension/construct.xml index 1a7ae5b199..23aa774290 100644 --- a/reference/reflection/reflectionextension/construct.xml +++ b/reference/reflection/reflectionextension/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 656d1610af1a960d87c8b7056e54d0d4c75fb123 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionExtension::__construct</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> Construit un &object; <classname>ReflectionExtension</classname>. </para> @@ -78,7 +77,6 @@ Extension: Reflection (version: $Revision$) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/getversion.xml b/reference/reflection/reflectionextension/getversion.xml index d8b40384f3..579c04e248 100644 --- a/reference/reflection/reflectionextension/getversion.xml +++ b/reference/reflection/reflectionextension/getversion.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.getversion" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::getVersion</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionExtension::getVersion</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>ReflectionExtension::getVersion</methodname> + <void/> </methodsynopsis> <para> Récupère la version de l'extension. @@ -28,7 +27,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - La version de l'extension. + La version de l'extension, ou &null; si l'extension n'a pas de version. </para> </refsect1> @@ -65,7 +64,6 @@ string(3) "0.1" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/ispersistent.xml b/reference/reflection/reflectionextension/ispersistent.xml index 3ebd29f048..4792b6f821 100644 --- a/reference/reflection/reflectionextension/ispersistent.xml +++ b/reference/reflection/reflectionextension/ispersistent.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.ispersistent" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::isPersistent</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>ReflectionExtension::isPersistent</methodname> - <void /> + <modifier>public</modifier> <type>bool</type><methodname>ReflectionExtension::isPersistent</methodname> + <void/> </methodsynopsis> <para> @@ -47,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionextension/istemporary.xml b/reference/reflection/reflectionextension/istemporary.xml index 7b4645b5ff..9e0f0004e4 100644 --- a/reference/reflection/reflectionextension/istemporary.xml +++ b/reference/reflection/reflectionextension/istemporary.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionextension.istemporary" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionExtension::isTemporary</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>void</type><methodname>ReflectionExtension::isTemporary</methodname> - <void /> + <modifier>public</modifier> <type>bool</type><methodname>ReflectionExtension::isTemporary</methodname> + <void/> </methodsynopsis> <para> @@ -47,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunction.xml b/reference/reflection/reflectionfunction.xml index be32c3b9f7..d6bbf6727e 100644 --- a/reference/reflection/reflectionfunction.xml +++ b/reference/reflection/reflectionfunction.xml @@ -59,6 +59,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionfunction')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionfunction')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionfunction/construct.xml b/reference/reflection/reflectionfunction/construct.xml index f727968eee..6cb49aad6d 100644 --- a/reference/reflection/reflectionfunction/construct.xml +++ b/reference/reflection/reflectionfunction/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 7f569e1f175adf1fbd0e462eba8d6bc82214c939 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionfunction.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunction::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionFunction::__construct</methodname> - <methodparam><type>mixed</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>Closure</type><type>string</type></type><parameter>function</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionFunction</classname>. </para> @@ -25,7 +24,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>function</parameter></term> <listitem> <para> Le nom de la fonction à refléter ou une @@ -47,7 +46,7 @@ <refsect1 role="errors"> &reftitle.errors; <para> - Une exception <classname>ReflectionException</classname> si le paramètre <parameter>name</parameter> + Une exception <classname>ReflectionException</classname> si le paramètre <parameter>function</parameter> contient une fonction invalide. </para> </refsect1> @@ -159,7 +158,6 @@ dumpReflectionFunction(new ReflectionFunction($counter2)); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml index 91c3455793..467d4b4115 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getclosurescopeclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getClosureScopeClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureScopeClass</methodname> + <void/> </methodsynopsis> <para> @@ -37,7 +36,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml index c99896b6e2..0d36eaed84 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getclosurethis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getClosureThis</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>object</type><methodname>ReflectionFunctionAbstract::getClosureThis</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>object</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getClosureThis</methodname> + <void/> </methodsynopsis> <para> @@ -38,7 +37,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getdoccomment.xml b/reference/reflection/reflectionfunctionabstract/getdoccomment.xml index 8632e57698..46d0b8e7e9 100644 --- a/reference/reflection/reflectionfunctionabstract/getdoccomment.xml +++ b/reference/reflection/reflectionfunctionabstract/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionFunctionAbstract::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère un commentaire depuis une fonction. @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getendline.xml b/reference/reflection/reflectionfunctionabstract/getendline.xml index fdf70eb523..7f39a059c6 100644 --- a/reference/reflection/reflectionfunctionabstract/getendline.xml +++ b/reference/reflection/reflectionfunctionabstract/getendline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 3ca0df20f79c1338285c7c5a4efdf01aa61dca6c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getendline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getEndLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionFunctionAbstract::getEndLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getEndLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de la dernière ligne. @@ -46,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getextension.xml b/reference/reflection/reflectionfunctionabstract/getextension.xml index 0f0a3e944a..e64303486f 100644 --- a/reference/reflection/reflectionfunctionabstract/getextension.xml +++ b/reference/reflection/reflectionfunctionabstract/getextension.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getextension" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getExtension</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionExtension</type><methodname>ReflectionFunctionAbstract::getExtension</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionExtension</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getExtension</methodname> + <void/> </methodsynopsis> <para> Récupère les informations d'une extension. @@ -32,7 +31,8 @@ &reftitle.returnvalues; <para> Les informations de l'extension, sous la forme d'un objet - <classname>ReflectionExtension</classname>. + <classname>ReflectionExtension</classname>, ou &null; pour les fonctions + définis par l'utilisateur. </para> </refsect1> @@ -46,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getextensionname.xml b/reference/reflection/reflectionfunctionabstract/getextensionname.xml index 9bd67d8e10..3214a54d01 100644 --- a/reference/reflection/reflectionfunctionabstract/getextensionname.xml +++ b/reference/reflection/reflectionfunctionabstract/getextensionname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getextensionname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getExtensionName</refname> @@ -31,7 +30,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le nom de l'extension. + Le nom de l'extension qui définit la fonction, + ou &false; pour les fonctions définis par l'utilisateur. </para> </refsect1> @@ -45,7 +45,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getfilename.xml b/reference/reflection/reflectionfunctionabstract/getfilename.xml index 727e16fa8a..47464f9e27 100644 --- a/reference/reflection/reflectionfunctionabstract/getfilename.xml +++ b/reference/reflection/reflectionfunctionabstract/getfilename.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getFileName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionFunctionAbstract::getFileName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getFileName</methodname> + <void/> </methodsynopsis> <para> Récupère le nom du fichier depuis une fonction définie @@ -32,7 +31,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le nom du fichier. + Retourne le nom du fichier du fichier dans lequel la fonction a été définie. + Si la classe est définie dans le coeur de PHP ou une extension PHP, &false; + est retourné. </para> </refsect1> @@ -46,7 +47,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getreturntype.xml b/reference/reflection/reflectionfunctionabstract/getreturntype.xml index 4de5b3473a..96d92457aa 100644 --- a/reference/reflection/reflectionfunctionabstract/getreturntype.xml +++ b/reference/reflection/reflectionfunctionabstract/getreturntype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionfunctionabstract.getreturntype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getReturnType</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionType</type><methodname>ReflectionFunctionAbstract::getReturnType</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionType</type><type>null</type></type><methodname>ReflectionFunctionAbstract::getReturnType</methodname> + <void/> </methodsynopsis> <para> Récupère le type de retour définit pour une fonction reflété. @@ -95,7 +94,6 @@ null </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionfunctionabstract/getstartline.xml b/reference/reflection/reflectionfunctionabstract/getstartline.xml index f87346e926..a139a6bb0b 100644 --- a/reference/reflection/reflectionfunctionabstract/getstartline.xml +++ b/reference/reflection/reflectionfunctionabstract/getstartline.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: b71e8b802f19ebed1067898d628e8a03b0550a11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionfunctionabstract.getstartline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionFunctionAbstract::getStartLine</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>ReflectionFunctionAbstract::getStartLine</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ReflectionFunctionAbstract::getStartLine</methodname> + <void/> </methodsynopsis> <para> Récupère le numéro de ligne de départ de la fonction. @@ -31,7 +30,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le numéro de la ligne de départ. + Le numéro de la ligne de départ, ou &false; si inconnue. </para> </refsect1> @@ -45,7 +44,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator.xml b/reference/reflection/reflectiongenerator.xml index 833afa3780..b1749574db 100644 --- a/reference/reflection/reflectiongenerator.xml +++ b/reference/reflection/reflectiongenerator.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectiongenerator" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -35,6 +35,9 @@ </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiongenerator')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> diff --git a/reference/reflection/reflectiongenerator/construct.xml b/reference/reflection/reflectiongenerator/construct.xml index e5243cf937..7f8d87dddd 100644 --- a/reference/reflection/reflectiongenerator/construct.xml +++ b/reference/reflection/reflectiongenerator/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionGenerator::__construct</methodname> <methodparam><type>Generator</type><parameter>generator</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> Construit un objet <classname>ReflectionGenerator</classname>. </para> @@ -92,7 +91,6 @@ File: /path/to/file/example.php </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator/getthis.xml b/reference/reflection/reflectiongenerator/getthis.xml index f9be3d5696..514e8eb453 100644 --- a/reference/reflection/reflectiongenerator/getthis.xml +++ b/reference/reflection/reflectiongenerator/getthis.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8d98d6a566aa57ab1926126ee2b2a333ee758e7 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.getthis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::getThis</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>object</type><methodname>ReflectionGenerator::getThis</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>object</type><type>null</type></type><methodname>ReflectionGenerator::getThis</methodname> + <void/> </methodsynopsis> <para> Récupère la valeur de <literal>$this</literal> du générateur auquel il a accès. @@ -79,7 +78,6 @@ object(GenExample)#3 (0) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiongenerator/gettrace.xml b/reference/reflection/reflectiongenerator/gettrace.xml index 986213347a..a2a1b71b74 100644 --- a/reference/reflection/reflectiongenerator/gettrace.xml +++ b/reference/reflection/reflectiongenerator/gettrace.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 481248b3a19c4115e3e1dc41e554bef330a97fa9 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectiongenerator.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionGenerator::getTrace</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>ReflectionGenerator::getTrace</methodname> - <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>DEBUG_BACKTRACE_PROVIDE_OBJECT</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer><constant>DEBUG_BACKTRACE_PROVIDE_OBJECT</constant></initializer></methodparam> </methodsynopsis> <para> Récupère la trace du générateur actuellement exécuté. @@ -150,7 +149,6 @@ array(2) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod.xml b/reference/reflection/reflectionmethod.xml index d598d0bba8..64f7b18aca 100644 --- a/reference/reflection/reflectionmethod.xml +++ b/reference/reflection/reflectionmethod.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionmethod" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -93,6 +93,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionmethod')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionmethod')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionmethod/construct.xml b/reference/reflection/reflectionmethod/construct.xml index b5480317e4..b0b6721dc6 100644 --- a/reference/reflection/reflectionmethod/construct.xml +++ b/reference/reflection/reflectionmethod/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 72502df5f5ad7d2f4fbf8dba58d9b882a2a79f11 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::__construct</refname> @@ -11,15 +10,16 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname> - <methodparam><type class="union"><type>string</type><type>object</type></type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam> + </constructorsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionMethod::__construct</methodname> - <methodparam><type>string</type><parameter>class_method</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>objectOrMethod</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>method</parameter><initializer>&null;</initializer></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionMethod</classname>. </para> @@ -31,7 +31,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>class</parameter></term> + <term><parameter>objectOrMethod</parameter></term> <listitem> <para> Nom de classe -ou instance de celle-ci- qui contient la méthode. @@ -39,7 +39,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>method</parameter></term> <listitem> <para> Nom de la méthode. @@ -47,7 +47,7 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>class_method</parameter></term> + <term><parameter>objectOrMethod</parameter></term> <listitem> <para> Nom de classe et de méthode délimités par <literal>::</literal>. @@ -171,7 +171,6 @@ var_dump($method->invoke(NULL)); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/getclosure.xml b/reference/reflection/reflectionmethod/getclosure.xml index c9acb87680..e22b9343c6 100644 --- a/reference/reflection/reflectionmethod/getclosure.xml +++ b/reference/reflection/reflectionmethod/getclosure.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68908757049be877e7b7d3cf73eaff2a31e574b0 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.getclosure" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::getClosure</refname> @@ -13,11 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>Closure</type><methodname>ReflectionMethod::getClosure</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> - </methodsynopsis> - <methodsynopsis> - <modifier>public</modifier> <type>Closure</type><methodname>ReflectionMethod::getClosure</methodname> - <void /> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> @@ -49,9 +44,28 @@ </para> </refsect1> - + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/invoke.xml b/reference/reflection/reflectionmethod/invoke.xml index 92ad5cfdc7..2107040309 100644 --- a/reference/reflection/reflectionmethod/invoke.xml +++ b/reference/reflection/reflectionmethod/invoke.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionmethod.invoke" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::invoke</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invoke</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter></methodparam> <methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> @@ -117,7 +116,6 @@ Hello Mike </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionmethod/invokeargs.xml b/reference/reflection/reflectionmethod/invokeargs.xml index 9435b0170e..0004f7213a 100644 --- a/reference/reflection/reflectionmethod/invokeargs.xml +++ b/reference/reflection/reflectionmethod/invokeargs.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: fcddfb2551140fba9a14a4c44dc9fa60004440c8 Maintainer: jpauli Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: jpauli Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionmethod.invokeargs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionMethod::invokeArgs</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invokeArgs</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter></methodparam> <methodparam><type>array</type><parameter>args</parameter></methodparam> </methodsynopsis> <para> @@ -118,7 +117,6 @@ Hello Mike </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionobject.xml b/reference/reflection/reflectionobject.xml index 25a5b02fbd..5ed82cdd5e 100644 --- a/reference/reflection/reflectionobject.xml +++ b/reference/reflection/reflectionobject.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 437bbf134e015c678f9d4b8a5b8da53429a9a12d Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionobject" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -55,6 +55,9 @@ </fieldsynopsis> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> diff --git a/reference/reflection/reflectionobject/construct.xml b/reference/reflection/reflectionobject/construct.xml index a4e87abc54..2d3304ad09 100644 --- a/reference/reflection/reflectionobject/construct.xml +++ b/reference/reflection/reflectionobject/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: d8b968e63cba67a082e6e37aee1ebe7821b41258 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionobject.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionObject::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionObject::__construct</methodname> - <methodparam><type>object</type><parameter>argument</parameter></methodparam> - </methodsynopsis> + <methodparam><type>object</type><parameter>object</parameter></methodparam> + </constructorsynopsis> <para> Construit un nouvel objet <classname>ReflectionObject</classname>. </para> @@ -28,7 +27,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>argument</parameter></term> + <term><parameter>object</parameter></term> <listitem> <para> Une instance d'un objet. @@ -57,7 +56,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter.xml b/reference/reflection/reflectionparameter.xml index c008685bd0..e38305249d 100644 --- a/reference/reflection/reflectionparameter.xml +++ b/reference/reflection/reflectionparameter.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionparameter" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -53,6 +53,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionparameter/construct.xml b/reference/reflection/reflectionparameter/construct.xml index d99bb7bda7..8cd6ef814b 100644 --- a/reference/reflection/reflectionparameter/construct.xml +++ b/reference/reflection/reflectionparameter/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 0ce6b8da1e967544dce7e303a798ffa1a8033f74 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionParameter::__construct</methodname> - <methodparam><type>callable</type><parameter>function</parameter></methodparam> - <methodparam><type>mixed</type><parameter>parameter</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>string</type><type>array</type><type>object</type></type><parameter>function</parameter></methodparam> + <methodparam><type class="union"><type>int</type><type>string</type></type><parameter>param</parameter></methodparam> + </constructorsynopsis> <para> Construit une instance <classname>ReflectionParameter</classname>. </para> @@ -34,10 +33,10 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>parameter</parameter></term> + <term><parameter>param</parameter></term> <listitem> <para> - Soit un &integer; spécifiant la position du paramètre (commançant par + Soit un &integer; spécifiant la position du paramètre (commençant par zéro), soit le nom du paramètre en tant que &string;. </para> </listitem> @@ -138,7 +137,6 @@ Function [ <user> function foo ] { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getclass.xml b/reference/reflection/reflectionparameter/getclass.xml index 22d28b3fe0..76c0b31444 100644 --- a/reference/reflection/reflectionparameter/getclass.xml +++ b/reference/reflection/reflectionparameter/getclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 9f1bc3cef4629ba897706c2eefbd3084ddece5ff Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.getclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionParameter::getClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionParameter::getClass</methodname> + <void/> </methodsynopsis> <para> Récupère la classe de typage d'objets pour le paramètre comme @@ -32,7 +31,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Un objet <classname>ReflectionClass</classname>. + Un objet <classname>ReflectionClass</classname>, ou &null; si aucun type est déclaré, + ou le type déclaré n'est pas une classe ou interface. </para> </refsect1> @@ -74,7 +74,6 @@ Exception </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getdeclaringclass.xml b/reference/reflection/reflectionparameter/getdeclaringclass.xml index 5118be68ac..141228e184 100644 --- a/reference/reflection/reflectionparameter/getdeclaringclass.xml +++ b/reference/reflection/reflectionparameter/getdeclaringclass.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e8172b8b80ec48a2263c33f53c78c2579a00e1e0 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionparameter.getdeclaringclass" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getDeclaringClass</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionClass</type><methodname>ReflectionParameter::getDeclaringClass</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionClass</type><type>null</type></type><methodname>ReflectionParameter::getDeclaringClass</methodname> + <void/> </methodsynopsis> <para> Récupère la classe déclarante. @@ -82,7 +81,6 @@ object(ReflectionClass)#2 (1) { </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml index 0f89fdd2b7..541671f995 100644 --- a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml +++ b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionparameter.getdefaultvalueconstantname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getDefaultValueConstantName</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionParameter::getDefaultValueConstantName</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>ReflectionParameter::getDefaultValueConstantName</methodname> + <void/> </methodsynopsis> <para> Retourne le nom de la constante qui sert de valeur par défault à un paramètre d'une @@ -113,7 +112,6 @@ Valeur par défault : PHP_INT_MIN </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionparameter/gettype.xml b/reference/reflection/reflectionparameter/gettype.xml index f27b9d4120..84dbb6257d 100644 --- a/reference/reflection/reflectionparameter/gettype.xml +++ b/reference/reflection/reflectionparameter/gettype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 83f9fa789aa526c3188fbb4e6c37268bac975761 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionparameter.gettype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionParameter::getType</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>ReflectionType</type><methodname>ReflectionParameter::getType</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>ReflectionType</type><type>null</type></type><methodname>ReflectionParameter::getType</methodname> + <void/> </methodsynopsis> <para> Récupère le type associé d'un paramètre. @@ -109,7 +108,6 @@ NULL </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty.xml b/reference/reflection/reflectionproperty.xml index 958d6b5339..fd6bf06487 100644 --- a/reference/reflection/reflectionproperty.xml +++ b/reference/reflection/reflectionproperty.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionproperty" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -76,6 +76,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionproperty')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionproperty')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionproperty/construct.xml b/reference/reflection/reflectionproperty/construct.xml index 3d7cc3b51b..ec33df49dd 100644 --- a/reference/reflection/reflectionproperty/construct.xml +++ b/reference/reflection/reflectionproperty/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: d640c0f5e153f5d43a71eec4fff29111e539bfa3 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::__construct</refname> @@ -11,11 +10,11 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionProperty::__construct</methodname> - <methodparam><type>mixed</type><parameter>class</parameter></methodparam> - <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + <methodparam><type class="union"><type>object</type><type>string</type></type><parameter>class</parameter></methodparam> + <methodparam><type>string</type><parameter>property</parameter></methodparam> + </constructorsynopsis> <para> </para> @@ -32,12 +31,13 @@ <term><parameter>class</parameter></term> <listitem> <para> - Le nom de la classe, qui contient la propriété. + Soit une chaîne de caractère contenant le nom de la classe à introspecter, + ou un objet. </para> </listitem> </varlistentry> <varlistentry> - <term><parameter>name</parameter></term> + <term><parameter>property</parameter></term> <listitem> <para> Le nom de la propriété à refléter. @@ -172,7 +172,6 @@ int(3) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/getdoccomment.xml b/reference/reflection/reflectionproperty/getdoccomment.xml index 3982b1a1c2..5831bcd8af 100644 --- a/reference/reflection/reflectionproperty/getdoccomment.xml +++ b/reference/reflection/reflectionproperty/getdoccomment.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 1c1b29f597bd56dcd072736f5ca601a4b6f54a72 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.getdoccomment" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::getDocComment</refname> @@ -12,8 +11,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>string</type><methodname>ReflectionProperty::getDocComment</methodname> - <void /> + <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ReflectionProperty::getDocComment</methodname> + <void/> </methodsynopsis> <para> Récupère le commentaire de documentation d'une propriété. @@ -28,7 +27,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Le commentaire de documentation de la propriété. + Le commentaire de documentation s'il existe, sinon &false;. </para> </refsect1> @@ -111,7 +110,6 @@ b: false </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/getvalue.xml b/reference/reflection/reflectionproperty/getvalue.xml index 5c56ee81a9..e67cdf2f4f 100644 --- a/reference/reflection/reflectionproperty/getvalue.xml +++ b/reference/reflection/reflectionproperty/getvalue.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 68b5b97731c78d84dc89381ae52e7b3832f93593 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionproperty.getvalue" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::getValue</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>mixed</type><methodname>ReflectionProperty::getValue</methodname> - <methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Récupère la valeur de la propriété. @@ -54,6 +53,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -105,7 +126,6 @@ string(6) "foofoo" </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectionproperty/isinitialized.xml b/reference/reflection/reflectionproperty/isinitialized.xml index cd8047c937..c48cc263eb 100644 --- a/reference/reflection/reflectionproperty/isinitialized.xml +++ b/reference/reflection/reflectionproperty/isinitialized.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c4c885db2f2c503824a21ce64901b6a98833d2a8 Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="reflectionproperty.isinitialized" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionProperty::isInitialized</refname> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>ReflectionProperty::isInitialized</methodname> - <methodparam choice="opt"><type>object</type><parameter>object</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Vérifie si une propriété est initialisée. @@ -54,6 +53,28 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + <parameter>object</parameter> est désormais nullable. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="reflectionproperty.isinitialized.example.basic"> @@ -92,7 +113,6 @@ bool(true) </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/reflection/reflectiontype.xml b/reference/reflection/reflectiontype.xml index eff12b1e42..134b5240ef 100644 --- a/reference/reflection/reflectiontype.xml +++ b/reference/reflection/reflectiontype.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: c40f07c937efd99aa9ffcba126977e7536d1c2fd Maintainer: girgias Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: girgias Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectiontype" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -36,6 +36,11 @@ </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <!-- + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiontype')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> + --> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectiontype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"> <xi:fallback /> </xi:include> diff --git a/reference/reflection/reflectionzendextension.xml b/reference/reflection/reflectionzendextension.xml index d667bee480..459729ffb1 100644 --- a/reference/reflection/reflectionzendextension.xml +++ b/reference/reflection/reflectionzendextension.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <phpdoc:classref xml:id="class.reflectionzendextension" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -45,6 +45,9 @@ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> + <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionzendextension')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])"> + <xi:fallback /> + </xi:include> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.reflectionzendextension')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> </classsynopsis> <!-- }}} --> diff --git a/reference/reflection/reflectionzendextension/construct.xml b/reference/reflection/reflectionzendextension/construct.xml index 10c4be2e0d..644bccf947 100644 --- a/reference/reflection/reflectionzendextension/construct.xml +++ b/reference/reflection/reflectionzendextension/construct.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 656d1610af1a960d87c8b7056e54d0d4c75fb123 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 98df2cf9a939729d73adee1484ec05929c74c98b Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry xml:id="reflectionzendextension.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>ReflectionZendExtension::__construct</refname> @@ -11,10 +10,10 @@ <refsect1 role="description"> &reftitle.description; - <methodsynopsis> + <constructorsynopsis> <modifier>public</modifier> <methodname>ReflectionZendExtension::__construct</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> - </methodsynopsis> + </constructorsynopsis> <para> </para> @@ -46,7 +45,6 @@ </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml