svn: /phpdoc/ru/trunk/reference/spl/ recursivefilteriterator/construct.xml recursivefilteriterator/getchildren.xml recursivefilteriterator/haschildren.xml recursiveregexiterator/construct.xml recursiveregexiterator/getchildren.xml regexiterator/accept.xml regexiterator/construct.xml regexiterator/getflags.xml regexiterator/getmode.xml
[email protected] (Sergey Panteleev)
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Fri, 22 Nov 2019 13:51:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348331
Log:
docs(ru): Review
Changed paths:
UU phpdoc/ru/trunk/reference/spl/recursivefilteriterator/construct.xml
UU phpdoc/ru/trunk/reference/spl/recursivefilteriterator/getchildren.xml
UU phpdoc/ru/trunk/reference/spl/recursivefilteriterator/haschildren.xml
U phpdoc/ru/trunk/reference/spl/recursiveregexiterator/construct.xml
U phpdoc/ru/trunk/reference/spl/recursiveregexiterator/getchildren.xml
UU phpdoc/ru/trunk/reference/spl/regexiterator/accept.xml
U phpdoc/ru/trunk/reference/spl/regexiterator/construct.xml
UU phpdoc/ru/trunk/reference/spl/regexiterator/getflags.xml
U phpdoc/ru/trunk/reference/spl/regexiterator/getmode.xml
svn-diffs-348331.txt
(text/x-diff, 30.3 KB)
Modified: phpdoc/ru/trunk/reference/spl/recursivefilteriterator/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/recursivefilteriterator/construct.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/recursivefilteriterator/construct.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,170 +1,170 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 325428 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-
-<refentry xml:id="recursivefilteriterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>RecursiveFilterIterator::__construct</refname>
- <refpurpose>
- Создает объект RecursiveFilterIterator на основе объекта-итератора
- RecursiveIterator
- </refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <modifier>public</modifier> <methodname>RecursiveFilterIterator::__construct</methodname>
- <methodparam><type>RecursiveIterator</type><parameter>iterator</parameter></methodparam>
- </methodsynopsis>
- <para>
- Создает итератор <classname>RecursiveFilterIterator</classname> на основе
- <classname>RecursiveIterator</classname>.
- </para>
-
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>iterator</parameter></term>
- <listitem>
- <para>
- Объект-итератор <classname>RecursiveIterator</classname>, элементы которого
- требуется отфильтровать.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- &return.void;
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Пример использования <methodname>RecursiveFilterIterator</methodname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-class TestsOnlyFilter extends RecursiveFilterIterator {
- public function accept() {
- // текущий элемент пройдет фильтр, если имеет дочерние элементы или
- // его значение начинается со строки "test"
- return $this->hasChildren() || (strpos($this->current(), "test") !== FALSE);
- }
-}
-
-$array = array("test1", array("taste2", "test3", "test4"), "test5");
-$iterator = new RecursiveArrayIterator($array);
-$filter = new TestsOnlyFilter($iterator);
-
-foreach(new RecursiveIteratorIterator($filter) as $key => $value)
-{
- echo $value . "\n";
-}
-?>
-]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
-<![CDATA[
-test1
-test3
-test4
-test5
-]]>
- </screen>
- </example>
- </para>
- <para>
- <example>
- <title>Еще пример с <methodname>RecursiveFilterIterator</methodname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-class StartsWithFilter extends RecursiveFilterIterator {
-
- protected $word;
-
- public function __construct(RecursiveIterator $rit, $word) {
- $this->word = $word;
- parent::__construct($rit);
- }
-
- public function accept() {
- return $this->hasChildren() OR strpos($this->current(), $this->word) === 0;
- }
-
- public function getChildren() {
- return new self($this->getInnerIterator()->getChildren(), $this->word);
- }
-}
-
-$array = array("test1", array("taste2", "test3", "test4"), "test5");
-$iterator = new RecursiveArrayIterator($array);
-$filter = new StartsWithFilter($iterator, "test");
-
-foreach(new RecursiveIteratorIterator($filter) as $key => $value)
-{
- echo $value . "\n";
-}
-?>
-]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
-<![CDATA[
-test1
-test3
-test4
-test5
-]]>
- </screen>
- </example>
- </para>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><methodname>RecursiveFilterIterator::getChildren</methodname></member>
- <member><methodname>RecursiveFilterIterator::hasChildren</methodname></member>
- <member><methodname>FilterIterator::accept</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
--->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 325428 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+
+<refentry xml:id="recursivefilteriterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>RecursiveFilterIterator::__construct</refname>
+ <refpurpose>
+ Создает объект RecursiveFilterIterator на основе объекта-итератора
+ RecursiveIterator
+ </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <methodname>RecursiveFilterIterator::__construct</methodname>
+ <methodparam><type>RecursiveIterator</type><parameter>iterator</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Создает итератор <classname>RecursiveFilterIterator</classname> на основе
+ <classname>RecursiveIterator</classname>.
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>iterator</parameter></term>
+ <listitem>
+ <para>
+ Объект-итератор <classname>RecursiveIterator</classname>, элементы которого
+ требуется отфильтровать.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Пример использования <methodname>RecursiveFilterIterator</methodname></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class TestsOnlyFilter extends RecursiveFilterIterator {
+ public function accept() {
+ // текущий элемент пройдет фильтр, если имеет дочерние элементы или
+ // его значение начинается со строки "test"
+ return $this->hasChildren() || (strpos($this->current(), "test") !== FALSE);
+ }
+}
+
+$array = array("test1", array("taste2", "test3", "test4"), "test5");
+$iterator = new RecursiveArrayIterator($array);
+$filter = new TestsOnlyFilter($iterator);
+
+foreach(new RecursiveIteratorIterator($filter) as $key => $value)
+{
+ echo $value . "\n";
+}
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+test1
+test3
+test4
+test5
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ <example>
+ <title>Еще пример с <methodname>RecursiveFilterIterator</methodname></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class StartsWithFilter extends RecursiveFilterIterator {
+
+ protected $word;
+
+ public function __construct(RecursiveIterator $rit, $word) {
+ $this->word = $word;
+ parent::__construct($rit);
+ }
+
+ public function accept() {
+ return $this->hasChildren() OR strpos($this->current(), $this->word) === 0;
+ }
+
+ public function getChildren() {
+ return new self($this->getInnerIterator()->getChildren(), $this->word);
+ }
+}
+
+$array = array("test1", array("taste2", "test3", "test4"), "test5");
+$iterator = new RecursiveArrayIterator($array);
+$filter = new StartsWithFilter($iterator, "test");
+
+foreach(new RecursiveIteratorIterator($filter) as $key => $value)
+{
+ echo $value . "\n";
+}
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+test1
+test3
+test4
+test5
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>RecursiveFilterIterator::getChildren</methodname></member>
+ <member><methodname>RecursiveFilterIterator::hasChildren</methodname></member>
+ <member><methodname>FilterIterator::accept</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/recursivefilteriterator/construct.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/spl/recursivefilteriterator/getchildren.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/recursivefilteriterator/getchildren.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/recursivefilteriterator/getchildren.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 333095 Maintainer: tmn Status: ready -->
<!-- $Revision$ -->
+<!-- Reviewed: yes Maintainer: sergey -->
+
<refentry xml:id="recursivefilteriterator.getchildren" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>RecursiveFilterIterator::getChildren</refname>
@@ -29,7 +31,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает <classname>RecursiveFilterIterator</classname> содержащий дочерние
+ Возвращает <classname>RecursiveFilterIterator</classname>, содержащий дочерние
элементы текущего элемента внутреннего итератора.
</para>
</refsect1>
Property changes on: phpdoc/ru/trunk/reference/spl/recursivefilteriterator/getchildren.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/spl/recursivefilteriterator/haschildren.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/recursivefilteriterator/haschildren.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/recursivefilteriterator/haschildren.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 333095 Maintainer: tmn Status: ready -->
<!-- $Revision$ -->
+<!-- Reviewed: yes Maintainer: sergey -->
+
<refentry xml:id="recursivefilteriterator.haschildren" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>RecursiveFilterIterator::hasChildren</refname>
Property changes on: phpdoc/ru/trunk/reference/spl/recursivefilteriterator/haschildren.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/spl/recursiveregexiterator/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/recursiveregexiterator/construct.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/recursiveregexiterator/construct.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 343888 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<refentry xml:id="recursiveregexiterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -85,19 +85,19 @@
<row>
<entry><varname linkend="regexiterator.constants.all-matches">RecursiveRegexIterator::ALL_MATCHES</varname></entry>
<entry>
- См. <function>preg_match_all</function>.
+ Смотрите <function>preg_match_all</function>.
</entry>
</row>
<row>
<entry><varname linkend="regexiterator.constants.get-match">RecursiveRegexIterator::GET_MATCH</varname></entry>
<entry>
- См. <function>preg_match</function>.
+ Смотрите <function>preg_match</function>.
</entry>
</row>
<row>
<entry><varname linkend="regexiterator.constants.match">RecursiveRegexIterator::MATCH</varname></entry>
<entry>
- См. <function>preg_match</function>.
+ Смотрите <function>preg_match</function>.
</entry>
</row>
<row>
@@ -109,7 +109,7 @@
<row>
<entry><varname linkend="regexiterator.constants.split">RecursiveRegexIterator::SPLIT</varname></entry>
<entry>
- См. <function>preg_split</function>.
+ Смотрите <function>preg_split</function>.
</entry>
</row>
</tbody>
Modified: phpdoc/ru/trunk/reference/spl/recursiveregexiterator/getchildren.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/recursiveregexiterator/getchildren.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/recursiveregexiterator/getchildren.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 343888 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<refentry xml:id="recursiveregexiterator.getchildren" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Modified: phpdoc/ru/trunk/reference/spl/regexiterator/accept.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/regexiterator/accept.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/regexiterator/accept.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,103 +1,103 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 294375 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-
-<refentry xml:id="regexiterator.accept" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>RegexIterator::accept</refname>
- <refpurpose>Проверка соответствия регулярному выражению</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <modifier>public</modifier> <type>bool</type><methodname>RegexIterator::accept</methodname>
- <void />
- </methodsynopsis>
- <para>
- Проверяет соответствие строки <literal>(string)</literal>, которую вернул
- метод <methodname>RegexIterator::current</methodname>
- (или <methodname>RegexIterator::key</methodname>, если установлен флаг
- <link linkend="regexiterator.constants.use-key">RegexIterator::USE_KEY</link>),
- регулярному выражению.
- </para>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- &no.function.parameters;
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- &true; если значение элемента соответствует регулярному выражению,
- &false; в противном случае.
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example xml:id="regexiterator.accept.example.basic">
- <title>Пример использования <methodname>RegexIterator::accept</methodname></title>
- <para>
- В этом примере будет осуществляться навигация только по тем элементам, значения
- которых соответствуют регулярному выражению.
- </para>
- <programlisting role="php">
-<![CDATA[
-<?php
-$names = new ArrayIterator(array('Ann', 'Bob', 'Charlie', 'David'));
-$filter = new RegexIterator($names, '/^[B-D]/');
-foreach ($filter as $name) {
- echo $name . PHP_EOL;
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Bob
-Charlie
-David
-]]>
- </screen>
- </example>
- </para>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><link linkend="regexiterator.constants">Константы RegexIterator</link></member>
- <member><methodname>RegexIterator::setFlags</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
--->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 294375 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+
+<refentry xml:id="regexiterator.accept" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>RegexIterator::accept</refname>
+ <refpurpose>Проверка соответствия регулярному выражению</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>bool</type><methodname>RegexIterator::accept</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ Проверяет соответствие строки <literal>(string)</literal>, которую вернул
+ метод <methodname>RegexIterator::current</methodname>
+ (или <methodname>RegexIterator::key</methodname>, если установлен флаг
+ <link linkend="regexiterator.constants.use-key">RegexIterator::USE_KEY</link>),
+ регулярному выражению.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &true;, если значение элемента соответствует регулярному выражению,
+ &false; в противном случае.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example xml:id="regexiterator.accept.example.basic">
+ <title>Пример использования <methodname>RegexIterator::accept</methodname></title>
+ <para>
+ В этом примере будет осуществляться навигация только по тем элементам, значения
+ которых соответствуют регулярному выражению.
+ </para>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$names = new ArrayIterator(array('Ann', 'Bob', 'Charlie', 'David'));
+$filter = new RegexIterator($names, '/^[B-D]/');
+foreach ($filter as $name) {
+ echo $name . PHP_EOL;
+}
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+Bob
+Charlie
+David
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><link linkend="regexiterator.constants">Константы RegexIterator</link></member>
+ <member><methodname>RegexIterator::setFlags</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/regexiterator/accept.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/spl/regexiterator/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/regexiterator/construct.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/regexiterator/construct.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 340545 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<refentry xml:id="regexiterator.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -87,19 +87,19 @@
<row>
<entry><varname linkend="regexiterator.constants.all-matches">RegexIterator::ALL_MATCHES</varname></entry>
<entry>
- См. <function>preg_match_all</function>.
+ Смотрите <function>preg_match_all</function>.
</entry>
</row>
<row>
<entry><varname linkend="regexiterator.constants.get-match">RegexIterator::GET_MATCH</varname></entry>
<entry>
- См. <function>preg_match</function>.
+ Смотрите <function>preg_match</function>.
</entry>
</row>
<row>
<entry><varname linkend="regexiterator.constants.match">RegexIterator::MATCH</varname></entry>
<entry>
- См. <function>preg_match</function>.
+ Смотрите <function>preg_match</function>.
</entry>
</row>
<row>
@@ -111,7 +111,7 @@
<row>
<entry><varname linkend="regexiterator.constants.split">RegexIterator::SPLIT</varname></entry>
<entry>
- См. <function>preg_split</function>.
+ Смотрите <function>preg_split</function>.
</entry>
</row>
</tbody>
Modified: phpdoc/ru/trunk/reference/spl/regexiterator/getflags.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/regexiterator/getflags.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/regexiterator/getflags.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,94 +1,94 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 293874 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
-<!-- $Revision$ -->
-
-<refentry xml:id="regexiterator.getflags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>RegexIterator::getFlags</refname>
- <refpurpose>Получение флагов настройки</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <modifier>public</modifier> <type>int</type><methodname>RegexIterator::getFlags</methodname>
- <void />
- </methodsynopsis>
- <para>
- Возвращает флаги настройки. Список возможных флагов приведен в описании метода
- <methodname>RegexIterator::setFlags</methodname>.
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- Возвращает набор флагов.
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example xml:id="regexiterator.getflags.example.basic">
- <title>Пример использования <methodname>RegexIterator::getFlags</methodname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-
-$test = array ('str1' => 'test 1', 'teststr2' => 'another test', 'str3' => 'test 123');
-
-$arrayIterator = new ArrayIterator($test);
-$regexIterator = new RegexIterator($arrayIterator, '/^test/');
-$regexIterator->setFlags(RegexIterator::USE_KEY);
-
-if ($regexIterator->getFlags() & RegexIterator::USE_KEY) {
- echo 'Фильрация на основе ключей массива.';
-} else {
- echo 'Фильрация на основе значений массива.';
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Фильрация на основе ключей массива.
-]]>
- </screen>
- </example>
- </para>
- </refsect1>
-
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><methodname>RegexIterator::setFlags</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
--->
-
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 293874 Maintainer: tmn Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
+<!-- $Revision$ -->
+
+<refentry xml:id="regexiterator.getflags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>RegexIterator::getFlags</refname>
+ <refpurpose>Получение флагов настройки</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>int</type><methodname>RegexIterator::getFlags</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ Возвращает флаги настройки. Список возможных флагов приведен в описании метода
+ <methodname>RegexIterator::setFlags</methodname>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Возвращает набор флагов.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example xml:id="regexiterator.getflags.example.basic">
+ <title>Пример использования <methodname>RegexIterator::getFlags</methodname></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$test = array ('str1' => 'test 1', 'teststr2' => 'another test', 'str3' => 'test 123');
+
+$arrayIterator = new ArrayIterator($test);
+$regexIterator = new RegexIterator($arrayIterator, '/^test/');
+$regexIterator->setFlags(RegexIterator::USE_KEY);
+
+if ($regexIterator->getFlags() & RegexIterator::USE_KEY) {
+ echo 'Фильтрация на основе ключей массива.';
+} else {
+ echo 'Фильтрация на основе значений массива.';
+}
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+Фильтрация на основе ключей массива.
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>RegexIterator::setFlags</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/regexiterator/getflags.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: phpdoc/ru/trunk/reference/spl/regexiterator/getmode.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/regexiterator/getmode.xml 2019-11-21 19:41:38 UTC (rev 348330)
+++ phpdoc/ru/trunk/reference/spl/regexiterator/getmode.xml 2019-11-22 13:51:01 UTC (rev 348331)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 343888 Maintainer: tmn Status: ready -->
-<!-- Reviewed: no -->
+<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<refentry xml:id="regexiterator.getmode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -48,7 +48,7 @@
} elseif ($mode & RegexIterator::ALL_MATCHES) {
echo 'Получение всех соответствий для каждого элемента.';
} elseif ($mode & RegexIterator::MATCH) {
- echo 'Получение элементов прошедших отбор.';
+ echo 'Получение элементов, прошедших отбор.';
} elseif ($mode & RegexIterator::SPLIT) {
echo 'Получение отдельных частей каждого элемента.';
}