Files
php-doc-ru/reference/reflection/reflectionparameter.xml
Alexey Pyltsyn 875cafd737 ReflectionParameter: review
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@344943 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-03 11:51:03 +00:00

107 lines
3.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8c6d47907a700e7d824c6b02108d631e5cc1091f Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<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">
<title>Класс ReflectionParameter</title>
<titleabbrev>ReflectionParameter</titleabbrev>
<partintro>
<!-- {{{ ReflectionParameter intro -->
<section xml:id="reflectionparameter.intro">
&reftitle.intro;
<para>
Класс <classname>ReflectionParameter</classname> сообщает
информацию о параметрах методов и функций.
</para>
<para>
Чтобы иметь возможность исследовать аргументы функции,
сначала создайте экземпляр класса <classname>ReflectionFunction</classname> либо
<classname>ReflectionMethod</classname>, а затем используйте его
метод <methodname>ReflectionFunctionAbstract::getParameters</methodname>
для получения массива аргументов.
</para>
</section>
<!-- }}} -->
<section xml:id="reflectionparameter.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>ReflectionParameter</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>ReflectionParameter</classname>
</ooclass>
<oointerface>
<interfacename>Reflector</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<varname linkend="reflectionparameter.props.name">name</varname>
</fieldsynopsis>
<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:methodsynopsis[1])" />
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ ReflectionParameter properties -->
<section xml:id="reflectionparameter.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="reflectionparameter.props.name">
<term><varname>name</varname></term>
<listitem>
<para>
Имя аргумента. Доступно только для чтения и выбрасывает
исключение <classname>ReflectionException</classname> при попытке записи.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- }}} -->
</partintro>
&reference.reflection.entities.reflectionparameter;
</phpdoc:classref>
<!-- 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
-->