svn: /phpdoc/en/trunk/reference/reflection/reflectionclass/ gettraitaliases.xml gettraitnames.xml gettraits.xml istrait.xml

From: Date: Mon, 04 Jul 2011 10:32:49 +0000
Subject: svn: /phpdoc/en/trunk/reference/reflection/reflectionclass/ gettraitaliases.xml gettraitnames.xml gettraits.xml istrait.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8414@lists.php.net to get a copy of this message
vrana Mon, 04 Jul 2011 10:32:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312893 Log: Traits reflection Changed paths: A phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitaliases.xml A phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitnames.xml A phpdoc/en/trunk/reference/reflection/reflectionclass/gettraits.xml A phpdoc/en/trunk/reference/reflection/reflectionclass/istrait.xml Added: phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitaliases.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitaliases.xml (rev 0) +++ phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitaliases.xml 2011-07-04 10:32:49 UTC (rev 312893) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="reflectionclass.gettraitaliases" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>ReflectionClass::getTraitAliases</refname> + <refpurpose>Returns an array of trait aliases</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getTraitAliases</methodname> + <void /> + </methodsynopsis> + <para> + + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array with new method names in keys and original names (in the + format <literal>"TraitName::original"</literal>) in values. + Returns &null; in case of an error. + </para> + </refsect1> + + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitnames.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitnames.xml (rev 0) +++ phpdoc/en/trunk/reference/reflection/reflectionclass/gettraitnames.xml 2011-07-04 10:32:49 UTC (rev 312893) @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="reflectionclass.gettraitnames" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>ReflectionClass::getTraitNames</refname> + <refpurpose>Returns an array of names of traits used by this class</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getTraitNames</methodname> + <void /> + </methodsynopsis> + <para> + + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array with trait names in values. + Returns &null; in case of an error. + </para> + </refsect1> + + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/en/trunk/reference/reflection/reflectionclass/gettraits.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionclass/gettraits.xml (rev 0) +++ phpdoc/en/trunk/reference/reflection/reflectionclass/gettraits.xml 2011-07-04 10:32:49 UTC (rev 312893) @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="reflectionclass.gettraits" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>ReflectionClass::getTraits</refname> + <refpurpose>Returns an array of traits used by this class</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>array</type><methodname>ReflectionClass::getTraits</methodname> + <void /> + </methodsynopsis> + <para> + + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array with trait names in keys and instances of trait's + <classname>ReflectionClass</classname> in values. + Returns &null; in case of an error. + </para> + </refsect1> + + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Added: phpdoc/en/trunk/reference/reflection/reflectionclass/istrait.xml =================================================================== --- phpdoc/en/trunk/reference/reflection/reflectionclass/istrait.xml (rev 0) +++ phpdoc/en/trunk/reference/reflection/reflectionclass/istrait.xml 2011-07-04 10:32:49 UTC (rev 312893) @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="reflectionclass.istrait" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>ReflectionClass::isTrait</refname> + <refpurpose>Returns whether this is a trait</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>bool</type><methodname>ReflectionClass::isTrait</methodname> + <void /> + </methodsynopsis> + <para> + + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns &true; if this is a trait, &false; otherwise. + Returns &null; in case of an error. + </para> + </refsect1> + + +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

« previous php.doc.cvs (#8414) next »