mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Add isVariadic() method documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335240 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6c668086fa
commit
dacbac0ab2
3 changed files with 111 additions and 0 deletions
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="reflectionfunctionabstract.isvariadic" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>ReflectionFunctionAbstract::isVariadic</refname>
|
||||
<refpurpose>Checks if the function is variadic</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>ReflectionFunctionAbstract::isVariadic</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Checks if the function is
|
||||
<link linkend="functions.variable-arg-list.new">variadic</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns &true; if the function is variadic, otherwise &false;.
|
||||
</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
|
||||
-->
|
54
reference/reflection/reflectionparameter/isvariadic.xml
Normal file
54
reference/reflection/reflectionparameter/isvariadic.xml
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="reflectionparameter.isvariadic" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>ReflectionParameter::isVariadic</refname>
|
||||
<refpurpose>Checks if the parameter is variadic</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>ReflectionParameter::isVariadic</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Checks if the parameter was declared as a
|
||||
<link linkend="functions.variable-arg-list.new">variadic parameter</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns &true; if the parameter is variadic, otherwise &false;.
|
||||
</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
|
||||
-->
|
|
@ -33,6 +33,7 @@
|
|||
<function name='reflectionfunctionabstract::isgenerator' from='PHP 5 >= 5.5.0'/>
|
||||
<function name='reflectionfunctionabstract::isinternal' from='PHP 5'/>
|
||||
<function name='reflectionfunctionabstract::isuserdefined' from='PHP 5'/>
|
||||
<function name='reflectionfunctionabstract::isvariadic' from='PHP 5 >= 5.6.0'/>
|
||||
<function name='reflectionfunctionabstract::getclosurescopeclass' from='PHP >= 5.4.0'/>
|
||||
<function name='reflectionfunctionabstract::getclosurethis' from='PHP >= 5.4.0'/>
|
||||
<function name='reflectionfunctionabstract::getdoccomment' from='PHP 5 >= 5.1.0'/>
|
||||
|
@ -64,6 +65,7 @@
|
|||
<function name='reflectionfunction::isdeprecated' from='PHP 5'/>
|
||||
<function name='reflectionfunction::isinternal' from='PHP 5'/>
|
||||
<function name='reflectionfunction::isuserdefined' from='PHP 5'/>
|
||||
<function name='reflectionfunction::isvariadic' from='PHP 5 >= 5.6.0'/>
|
||||
<function name='reflectionfunction::getclosure' from='PHP >= 5.4.0'/>
|
||||
<function name='reflectionfunction::getdoccomment' from='PHP 5 >= 5.1.0'/>
|
||||
<function name='reflectionfunction::getendline' from='PHP 5'/>
|
||||
|
@ -100,6 +102,7 @@
|
|||
<function name='reflectionparameter::isdefaultvalueavailable' from='PHP 5 >= 5.0.3'/>
|
||||
<function name='reflectionparameter::getdefaultvalue' from='PHP 5 >= 5.0.3'/>
|
||||
<function name='reflectionparameter::canbepassedbyvalue' from='PHP >= 5.4.0'/>
|
||||
<function name='reflectionparameter::isvariadic' from='PHP 5 >= 5.6.0'/>
|
||||
|
||||
<function name='reflectionmethod' from='PHP 5'/>
|
||||
<function name='reflectionmethod::__clone' from='PHP 5'/>
|
||||
|
|
Loading…
Reference in a new issue