1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-26 00:32:15 +01:00
Files
archived-doc-ru/reference/spl/arrayiterator/construct.xml
Antony Dovgal 2bebb5fc17 Spelling Ueber Alles!
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@336866 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-02 10:34:58 +00:00

97 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 42871790fb1bc042de7ce2f22e386249f447757f Maintainer: mch Status: ready -->
<!-- Reviewed: no -->
<!-- $Revision$ -->
<refentry xml:id="arrayiterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ArrayIterator::__construct</refname>
<refpurpose>Создает ArrayIterator</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <methodname>ArrayIterator::__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>array</parameter><initializer>array()</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Создает <classname>ArrayIterator</classname> типа <type>object</type>.
</para>
&warn.undocumented.func;
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>array</parameter></term>
<listitem>
<para>
Массив или объект, который может быть итерирован.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>flags</parameter></term>
<listitem>
<para>
Флаги для управления поведением объекта <classname>ArrayIterator</classname>.
См. <methodname>ArrayIterator::setFlags</methodname>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
<classname>ArrayIterator</classname> <type>object</type>.
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
<function>ArrayIterator::__construct</function> выкидывает исключение типа
<classname>InvalidArgumentException</classname>, если передано что-то кроме массива или объекта.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>ArrayIterator::getArrayCopy</methodname></member>
</simplelist>
</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
-->