2009-10-03 15:24:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- $Revision$ -->
|
|
|
|
|
|
|
|
<refentry xml:id="recursiveiteratoriterator.setmaxdepth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>RecursiveIteratorIterator::setMaxDepth</refname>
|
|
|
|
<refpurpose>Set max depth</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
|
|
|
<methodsynopsis>
|
|
|
|
<modifier>public</modifier> <type>void</type><methodname>RecursiveIteratorIterator::setMaxDepth</methodname>
|
2018-02-11 12:24:09 +00:00
|
|
|
<methodparam choice="opt"><type>int</type><parameter>max_depth</parameter><initializer>-1</initializer></methodparam>
|
2009-10-03 15:24:02 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2009-11-25 14:49:47 +00:00
|
|
|
Set the maximum allowed depth.
|
2009-10-03 15:24:02 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
&warn.undocumented.func;
|
|
|
|
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>max_depth</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
The maximum allowed depth. <literal>-1</literal> is used
|
|
|
|
for any depth.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
&return.void;
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="errors">
|
|
|
|
&reftitle.errors;
|
|
|
|
<para>
|
2011-07-03 08:17:50 +00:00
|
|
|
Emits an <classname>Exception</classname> if <parameter>max_depth</parameter> is less than <literal>-1</literal>.
|
2009-10-03 15:24:02 +00:00
|
|
|
</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
|
2010-02-03 13:11:57 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2009-10-03 15:24:02 +00:00
|
|
|
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
|
|
|
|
-->
|