svn: /phpdoc/ru/trunk/reference/spl/arrayiterator/ construct.xml serialize.xml valid.xml
| From: | Max Chaban | Date: | Mon, 21 Nov 2011 08:21:25 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/spl/arrayiterator/ construct.xml serialize.xml valid.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-3222@lists.php.net to get a copy of this message | ||
mch Mon, 21 Nov 2011 08:21:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319601
Log:
Added unreviewed translation. Thanks to Zhutik.
Changed paths:
A phpdoc/ru/trunk/reference/spl/arrayiterator/construct.xml
A phpdoc/ru/trunk/reference/spl/arrayiterator/serialize.xml
A phpdoc/ru/trunk/reference/spl/arrayiterator/valid.xml
Added: phpdoc/ru/trunk/reference/spl/arrayiterator/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/arrayiterator/construct.xml (rev 0)
+++ phpdoc/ru/trunk/reference/spl/arrayiterator/construct.xml 2011-11-21 08:21:25 UTC (rev 319601)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 312851 Maintainer: mch Status: ready -->
+<!-- Reviewed: no -->
+
+<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>
+ <methodname>ArrayIterator::__construct</methodname>
+
<methodparam><type>mixed</type><parameter>array</parameter></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>
+ </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
+-->
Property changes on: phpdoc/ru/trunk/reference/spl/arrayiterator/construct.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ru/trunk/reference/spl/arrayiterator/serialize.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/arrayiterator/serialize.xml (rev 0)
+++ phpdoc/ru/trunk/reference/spl/arrayiterator/serialize.xml 2011-11-21 08:21:25 UTC (rev 319601)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 294375 Maintainer: mch Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="arrayiterator.serialize" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>ArrayIterator::serialize</refname>
+ <refpurpose>Сериализует массив</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>string</type><methodname>ArrayIterator::serialize</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ Сериализует массив.
+ </para>
+
+ &warn.undocumented.func;
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Сериализованный <classname>ArrayIterator</classname>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>ArrayIterator::unserialize</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
+-->
Property changes on: phpdoc/ru/trunk/reference/spl/arrayiterator/serialize.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Added: phpdoc/ru/trunk/reference/spl/arrayiterator/valid.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/arrayiterator/valid.xml (rev 0)
+++ phpdoc/ru/trunk/reference/spl/arrayiterator/valid.xml 2011-11-21 08:21:25 UTC (rev 319601)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 315005 Maintainer: mch Status: ready -->
+<!-- Reviewed: no -->
+<refentry xml:id="arrayiterator.valid" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>ArrayIterator::valid</refname>
+ <refpurpose>Проверяет, содержит ли массив еще
записи</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>ArrayIterator::valid</methodname>
+ <void/>
+ </methodsynopsis>
+ <para>
+ Проверяет, содержит ли массив <type>array</type> еще
записи.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Пример использования
<function>ArrayIterator::valid</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$array = array('1' => 'one');
+
+$arrayobject = new ArrayObject($array);
+$iterator = $arrayobject->getIterator();
+
+var_dump($iterator->valid()); //bool(true)
+
+$iterator->next(); // перемещаем указатель на следующий
элемент
+
+//bool(false) потому что в массиве только один элемент
+var_dump($iterator->valid());
+?>
+]]>
+ </programlisting>
+ </example>
+ </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
+-->
Property changes on: phpdoc/ru/trunk/reference/spl/arrayiterator/valid.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native