1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 15:12:22 +01:00
Files

90 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c142be811735a5542c8a2e4c4ed2f81e8cc3acc6 Maintainer: takagi Status: ready -->
<refentry xml:id="recursivetreeiterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>RecursiveTreeIterator::__construct</refname>
<refpurpose>RecursiveTreeIterator を作成する</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="RecursiveTreeIterator">
<modifier>public</modifier> <methodname>RecursiveTreeIterator::__construct</methodname>
<methodparam><type class="union"><type>RecursiveIterator</type><type>IteratorAggregate</type></type><parameter>iterator</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>RecursiveTreeIterator::BYPASS_KEY</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>cachingIteratorFlags</parameter><initializer><constant>CachingIterator::CATCH_GET_CHILD</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>RecursiveTreeIterator::SELF_FIRST</constant></initializer></methodparam>
</constructorsynopsis>
<para>
新しい <classname>RecursiveTreeIterator</classname> を、指定した再帰イテレータから作成します。
</para>
&warn.undocumented.func;
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>iterator</parameter></term>
<listitem>
<para>
<classname>RecursiveIterator</classname> あるいは <classname>IteratorAggregate</classname>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>flags</parameter></term>
<listitem>
<para>
フラグを指定して一部のメソッドの振る舞いを変更することができます。
フラグの一覧は <link linkend="recursivetreeiterator.constants">RecursiveTreeIterator の定義済み定数</link>
にあります。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>caching_it_flags</parameter></term>
<listitem>
<para>
内部的に使う <classname>RecursiveCachingIterator</classname> の振る舞いを変更するフラグ。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>mode</parameter></term>
<listitem>
<para>
内部的に使う <classname>RecursiveIteratorIterator</classname> の振る舞いを変更するフラグ。
</para>
</listitem>
</varlistentry>
</variablelist>
</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
-->