1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00
Files
archived-doc-ja/reference/reflection/reflectionparameter.xml
2024-06-14 17:01:59 +01:00

126 lines
3.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
<reference xml:id="class.reflectionparameter" role="class" 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 class="class">
<ooclass>
<classname>ReflectionParameter</classname>
</ooclass>
<oointerface>
<modifier>implements</modifier>
<interfacename>Reflector</interfacename>
</oointerface>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<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:constructorsynopsis[@role='ReflectionParameter'])">
<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[@role='ReflectionParameter'])">
<xi:fallback/>
</xi:include>
</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>
<!-- }}} -->
<section 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>
<methodname>ReflectionParameter::export</methodname> は、削除されました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</partintro>
&reference.reflection.entities.reflectionparameter;
</reference>
<!-- 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
-->