com doc/ru: Удаление устаревших файлов: reference/spl_types /book.xml reference/spl_types/configure.xml reference
/spl_types/constants.xml reference/spl_types/reference .xml reference/spl_types/splbool.xml reference/spl_ types/splenum.xml
reference/spl_types/splenum/getconstlis t.xml reference/spl_types/splfloat.xml reference/spl _types/splint.xml reference/spl_types/splstring.xml
reference/spl_types/spltype.xml reference/spl_types/ spltype/construct.xm
| From: | Sergey Panteleev | Date: | Tue, 16 Feb 2021 16:10:25 +0000 |
| Subject: | com doc/ru: Удаление устаревших файлов: reference/spl_types /book.xml reference/spl_types/configure.xml reference /spl_types/constants.xml reference/spl_types/reference .xml reference/spl_types/splbool.xml reference/spl_ types/splenum.xml reference/spl_types/splenum/getconstlis t.xml reference/spl_types/splfloat.xml reference/spl _types/splint.xml reference/spl_types/splstring.xml reference/spl_types/spltype.xml reference/spl_types/ spltype/construct.xm |
||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-8802@lists.php.net to get a copy of this message | ||
Commit: 370e14b25ebab3e2de13343cd9fdc175adff4517
Author: Sergey Panteleev <sergey@php.net> Tue, 16 Feb 2021 19:10:25 +0300
Parents: cfbbacb4697d6f6140512d6263182c006dece4cc
Branches: master
Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=370e14b25ebab3e2de13343cd9fdc175adff4517
Log:
Удаление устаревших файлов
Changed paths:
D reference/spl_types/book.xml
D reference/spl_types/configure.xml
D reference/spl_types/constants.xml
D reference/spl_types/reference.xml
D reference/spl_types/splbool.xml
D reference/spl_types/splenum.xml
D reference/spl_types/splenum/getconstlist.xml
D reference/spl_types/splfloat.xml
D reference/spl_types/splint.xml
D reference/spl_types/splstring.xml
D reference/spl_types/spltype.xml
D reference/spl_types/spltype/construct.xml
diff --git a/reference/spl_types/book.xml b/reference/spl_types/book.xml deleted file mode 100644 index 5727af1f7..000000000 --- a/reference/spl_types/book.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<!-- State: new --> - -<book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Обработка типов SPL Type</title> - <titleabbrev>Типы SPL</titleabbrev> - - <!-- {{{ preface --> - <preface xml:id="intro.spl-types"> - &reftitle.intro; - <para> - Это расширение стремится помогать людям, делающим PHP более сильным типизированным языком и может быть хорошей - альтернативой скалярному выводу подсказок типа. - Это обеспечивается различными классами обработки типа, таких как - <type>int</type>, <type>float</type>, <type>bool</type>, <type>enum</type> and <type>string</type> - </para> - &warn.experimental; - </preface> - <!-- }}} --> - - &reference.spl-types.setup; - &reference.spl-types.spltype; - &reference.spl-types.splint; - &reference.spl-types.splfloat; - &reference.spl-types.splenum; - &reference.spl-types.splbool; - &reference.spl-types.splstring; - -</book> - -<!-- 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 ---> diff --git a/reference/spl_types/configure.xml b/reference/spl_types/configure.xml deleted file mode 100644 index 35cb44bbe..000000000 --- a/reference/spl_types/configure.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<section xml:id="spl-types.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - &reftitle.install; - <para> - &pecl.info; - <link xlink:href="&url.pecl.package;spl_types"/>. - </para> -</section> - -<!-- 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 ---> diff --git a/reference/spl_types/constants.xml b/reference/spl_types/constants.xml deleted file mode 100644 index ebd06d283..000000000 --- a/reference/spl_types/constants.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<section xml:id="spl-types.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - &reftitle.constants; - &extension.constants; - <para> - <variablelist> - <varlistentry xml:id="constant.--default"> - <term> - <constant>__default</constant> - (Каждому объекту SPL_Types принадлежит константа __default, где храниться значение объекта. <type>int/float/bool/enum</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - </variablelist> - </para> -</section> -<!-- 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 ---> diff --git a/reference/spl_types/reference.xml b/reference/spl_types/reference.xml deleted file mode 100644 index 02b7fdee7..000000000 --- a/reference/spl_types/reference.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<reference xml:id="ref.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Функции типов SPL</title> -</reference> - -<!-- 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 ---> diff --git a/reference/spl_types/splbool.xml b/reference/spl_types/splbool.xml deleted file mode 100644 index 7b1139347..000000000 --- a/reference/spl_types/splbool.xml +++ /dev/null @@ -1,153 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splbool" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplBool</title> - <titleabbrev>SplBool</titleabbrev> - - <partintro> - - <!-- {{{ SplBool intro --> - <section xml:id="splbool.intro"> - &reftitle.intro; - <para> - Класс SplBool используется для обеспечения сильной типизации булева типа . - </para> - </section> - <!-- }}} --> - - <section xml:id="splbool.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplBool</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplBool</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplEnum</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.default">SplBool::__default</varname> - <initializer>&false;</initializer> - </fieldsynopsis> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.false">SplBool::false</varname> - <initializer>&false;</initializer> - </fieldsynopsis> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.true">SplBool::true</varname> - <initializer>&true;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplBool constants --> - <section xml:id="splbool.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splbool.constants.default"> - <term><constant>SplBool::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - <varlistentry xml:id="splbool.constants.false"> - <term><constant>SplBool::false</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - <varlistentry xml:id="splbool.constants.true"> - <term><constant>SplBool::true</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splbool.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplBool</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$true = new SplBool(true); -if ($true) { - echo "TRUE\n"; -} - -$false = new SplBool; -if ($false) { - echo "FALSE\n"; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -TRUE -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splenum.xml b/reference/spl_types/splenum.xml deleted file mode 100644 index aba8d82e4..000000000 --- a/reference/spl_types/splenum.xml +++ /dev/null @@ -1,148 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splenum" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplEnum</title> - <titleabbrev>SplEnum</titleabbrev> - - <partintro> - - <!-- {{{ SplEnum intro --> - <section xml:id="splenum.intro"> - &reftitle.intro; - <para> - SplEnum даёт возможность эмулировать и создать объекты перечисления непосредственно в PHP. - </para> - </section> - <!-- }}} --> - - <section xml:id="splenum.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplEnum</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplEnum</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>NULL</type> - <varname linkend="splenum.constants.default">SplEnum::__default</varname> - <initializer>&null;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplEnum constants --> - <section xml:id="splenum.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splenum.constants.default"> - <term><constant>SplEnum::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splenum.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplEnum</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -class Month extends SplEnum { - const __default = self::January; - - const January = 1; - const February = 2; - const March = 3; - const April = 4; - const May = 5; - const June = 6; - const July = 7; - const August = 8; - const September = 9; - const October = 10; - const November = 11; - const December = 12; -} - -echo new Month(Month::June) . PHP_EOL; - -try { - new Month(13); -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -6 -Value not a const in enum Month -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - - &reference.spl-types.entities.splenum; - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splenum/getconstlist.xml b/reference/spl_types/splenum/getconstlist.xml deleted file mode 100644 index 5b7fc69ff..000000000 --- a/reference/spl_types/splenum/getconstlist.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<refentry xml:id="splenum.getconstlist" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>SplEnum::getConstList</refname> - <refpurpose>Возвратить все константы (возможные значения) в виде массива</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <modifier>public</modifier> <type>array</type><methodname>SplEnum::getConstList</methodname> - <methodparam choice="opt"><type>bool</type><parameter>include_default</parameter><initializer>&false;</initializer></methodparam> - </methodsynopsis> - <para> - - </para> - - &warn.undocumented.func; - - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <variablelist> - <varlistentry> - <term><parameter>include_default</parameter></term> - <listitem> - <para> - Включать ли свойство <literal>__default</literal>. - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <function>SplEnum::getConstList</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -$bool = new SplBool; -var_dump($bool->getConstList(true)); -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -array(3) { - ["__default"]=> - bool(false) - ["false"]=> - bool(false) - ["true"]=> - bool(true) -} -]]> - </screen> - </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 ---> diff --git a/reference/spl_types/splfloat.xml b/reference/spl_types/splfloat.xml deleted file mode 100644 index 2555e80b8..000000000 --- a/reference/spl_types/splfloat.xml +++ /dev/null @@ -1,131 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 3cf1fede294079c70ae7c795dbe47ada7f48640d Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splfloat" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplFloat</title> - <titleabbrev>SplFloat</titleabbrev> - - <partintro> - - <!-- {{{ SplFloat intro --> - <section xml:id="splfloat.intro"> - &reftitle.intro; - <para> - Класс SplFloat используется для обеспечения сильной типизации типа числа с плавающей точкой. - </para> - </section> - <!-- }}} --> - - <section xml:id="splfloat.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplFloat</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplFloat</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>float</type> - <varname linkend="splfloat.constants.default">SplFloat::__default</varname> - <initializer>0</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplFloat constants --> - <section xml:id="splfloat.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splfloat.constants.default"> - <term><constant>SplFloat::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splfloat.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplFloat</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$float = new SplFloat(3.154); -$newFloat = new SplFloat(3); - -try { - $float = 'Try to cast a string value for fun'; -} catch (UnexpectedValueException $uve) { - echo $e->getMessage() . PHP_EOL; -} - -echo $float . PHP_EOL; -echo $newFloat . PHP_EOL; -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not a float -3.154 -3 -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splint.xml b/reference/spl_types/splint.xml deleted file mode 100644 index d53512e17..000000000 --- a/reference/spl_types/splint.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splint" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplInt</title> - <titleabbrev>SplInt</titleabbrev> - - <partintro> - - <!-- {{{ SplInt intro --> - <section xml:id="splint.intro"> - &reftitle.intro; - <para> - Класс SplInt используется для обеспечения сильной типизации целочисленного типа. - </para> - </section> - <!-- }}} --> - - <section xml:id="splint.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplInt</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplInt</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>int</type> - <varname linkend="splint.constants.default">SplInt::__default</varname> - <initializer>0</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplInt constants --> - <section xml:id="splint.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splint.constants.default"> - <term><constant>SplInt::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splint.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplInt</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$int = new SplInt(94); - -try { - $int = 'Try to cast a string value for fun'; -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} - -echo $int . PHP_EOL; -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not an integer -94 -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splstring.xml b/reference/spl_types/splstring.xml deleted file mode 100644 index 8e43b160e..000000000 --- a/reference/spl_types/splstring.xml +++ /dev/null @@ -1,133 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 50849115569da4ebf240f73d68923995881f9653 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplString</title> - <titleabbrev>SplString</titleabbrev> - - <partintro> - - <!-- {{{ SplString intro --> - <section xml:id="splstring.intro"> - &reftitle.intro; - <para> - Класс SplString используется для обеспечения сильной типизации строкового типа. - </para> - </section> - <!-- }}} --> - - <section xml:id="splstring.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplString</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplString</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>string</type> - <varname linkend="splstring.constants.default">SplString::__default</varname> - <initializer>''</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplString constants --> - <section xml:id="splstring.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splstring.constants.default"> - <term><constant>SplString::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splstring.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplString</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$string = new SplString("Testing"); - -try { - $string = array(); -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} - -var_dump($string); -echo $string; // Outputs "Testing" -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not a string -object(SplString)#1 (1) { - ["__default"]=> - string(7) "Testing" -} -Testing -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/spltype.xml b/reference/spl_types/spltype.xml deleted file mode 100644 index 132521896..000000000 --- a/reference/spl_types/spltype.xml +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.spltype" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplType</title> - <titleabbrev>SplType</titleabbrev> - - <partintro> - - <!-- {{{ SplType intro --> - <section xml:id="spltype.intro"> - &reftitle.intro; - <para> - Родительский класс для всех типов SPL. - </para> - </section> - <!-- }}} --> - - <section xml:id="spltype.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplType</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <modifier>abstract</modifier> <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>NULL</type> - <varname linkend="spltype.constants.default">SplType::__default</varname> - <initializer>&null;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplType constants --> - <section xml:id="spltype.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="spltype.constants.default"> - <term><constant>SplType::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - - </partintro> - - &reference.spl-types.entities.spltype; - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/spltype/construct.xml b/reference/spl_types/spltype/construct.xml deleted file mode 100644 index e0cc4654a..000000000 --- a/reference/spl_types/spltype/construct.xml +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 37b30e4e87272dbc417c309c1aebe4f386384bd7 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<refentry xml:id="spltype.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>SplType::__construct</refname> - <refpurpose>Создать новое значение некоторого типа</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <methodname>SplType::__construct</methodname> - <methodparam choice="opt"><type>mixed</type><parameter>initial_value</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>strict</parameter></methodparam> - </methodsynopsis> - <para> - - </para> - - &warn.undocumented.func; - - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <variablelist> - <varlistentry> - <term><parameter>initial_value</parameter></term> - <listitem> - <para> - Тип и значение по умолчания зависят от расширения класса. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>strict</parameter></term> - <listitem> - <para> - Установить ли объектную строгость. - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1 role="errors"> - &reftitle.errors; - <para> - Выбрасывает <classname>UnexpectedValueException</classname> если задан несовместимый тип. - </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 --->
diff --git a/reference/spl_types/book.xml b/reference/spl_types/book.xml deleted file mode 100644 index 5727af1f7..000000000 --- a/reference/spl_types/book.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<!-- State: new --> - -<book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Обработка типов SPL Type</title> - <titleabbrev>Типы SPL</titleabbrev> - - <!-- {{{ preface --> - <preface xml:id="intro.spl-types"> - &reftitle.intro; - <para> - Это расширение стремится помогать людям, делающим PHP более сильным типизированным языком и может быть хорошей - альтернативой скалярному выводу подсказок типа. - Это обеспечивается различными классами обработки типа, таких как - <type>int</type>, <type>float</type>, <type>bool</type>, <type>enum</type> and <type>string</type> - </para> - &warn.experimental; - </preface> - <!-- }}} --> - - &reference.spl-types.setup; - &reference.spl-types.spltype; - &reference.spl-types.splint; - &reference.spl-types.splfloat; - &reference.spl-types.splenum; - &reference.spl-types.splbool; - &reference.spl-types.splstring; - -</book> - -<!-- 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 ---> diff --git a/reference/spl_types/configure.xml b/reference/spl_types/configure.xml deleted file mode 100644 index 35cb44bbe..000000000 --- a/reference/spl_types/configure.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<section xml:id="spl-types.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - &reftitle.install; - <para> - &pecl.info; - <link xlink:href="&url.pecl.package;spl_types"/>. - </para> -</section> - -<!-- 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 ---> diff --git a/reference/spl_types/constants.xml b/reference/spl_types/constants.xml deleted file mode 100644 index ebd06d283..000000000 --- a/reference/spl_types/constants.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<section xml:id="spl-types.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - &reftitle.constants; - &extension.constants; - <para> - <variablelist> - <varlistentry xml:id="constant.--default"> - <term> - <constant>__default</constant> - (Каждому объекту SPL_Types принадлежит константа __default, где храниться значение объекта. <type>int/float/bool/enum</type>) - </term> - <listitem> - <simpara> - - </simpara> - </listitem> - </varlistentry> - </variablelist> - </para> -</section> -<!-- 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 ---> diff --git a/reference/spl_types/reference.xml b/reference/spl_types/reference.xml deleted file mode 100644 index 02b7fdee7..000000000 --- a/reference/spl_types/reference.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision: $ --> -<reference xml:id="ref.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Функции типов SPL</title> -</reference> - -<!-- 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 ---> diff --git a/reference/spl_types/splbool.xml b/reference/spl_types/splbool.xml deleted file mode 100644 index 7b1139347..000000000 --- a/reference/spl_types/splbool.xml +++ /dev/null @@ -1,153 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splbool" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplBool</title> - <titleabbrev>SplBool</titleabbrev> - - <partintro> - - <!-- {{{ SplBool intro --> - <section xml:id="splbool.intro"> - &reftitle.intro; - <para> - Класс SplBool используется для обеспечения сильной типизации булева типа . - </para> - </section> - <!-- }}} --> - - <section xml:id="splbool.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplBool</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplBool</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplEnum</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.default">SplBool::__default</varname> - <initializer>&false;</initializer> - </fieldsynopsis> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.false">SplBool::false</varname> - <initializer>&false;</initializer> - </fieldsynopsis> - <fieldsynopsis> - <modifier>const</modifier> - <type>bool</type> - <varname linkend="splbool.constants.true">SplBool::true</varname> - <initializer>&true;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplBool constants --> - <section xml:id="splbool.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splbool.constants.default"> - <term><constant>SplBool::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - <varlistentry xml:id="splbool.constants.false"> - <term><constant>SplBool::false</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - <varlistentry xml:id="splbool.constants.true"> - <term><constant>SplBool::true</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splbool.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplBool</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$true = new SplBool(true); -if ($true) { - echo "TRUE\n"; -} - -$false = new SplBool; -if ($false) { - echo "FALSE\n"; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -TRUE -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splenum.xml b/reference/spl_types/splenum.xml deleted file mode 100644 index aba8d82e4..000000000 --- a/reference/spl_types/splenum.xml +++ /dev/null @@ -1,148 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splenum" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplEnum</title> - <titleabbrev>SplEnum</titleabbrev> - - <partintro> - - <!-- {{{ SplEnum intro --> - <section xml:id="splenum.intro"> - &reftitle.intro; - <para> - SplEnum даёт возможность эмулировать и создать объекты перечисления непосредственно в PHP. - </para> - </section> - <!-- }}} --> - - <section xml:id="splenum.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplEnum</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplEnum</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>NULL</type> - <varname linkend="splenum.constants.default">SplEnum::__default</varname> - <initializer>&null;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplEnum constants --> - <section xml:id="splenum.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splenum.constants.default"> - <term><constant>SplEnum::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splenum.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplEnum</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -class Month extends SplEnum { - const __default = self::January; - - const January = 1; - const February = 2; - const March = 3; - const April = 4; - const May = 5; - const June = 6; - const July = 7; - const August = 8; - const September = 9; - const October = 10; - const November = 11; - const December = 12; -} - -echo new Month(Month::June) . PHP_EOL; - -try { - new Month(13); -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -6 -Value not a const in enum Month -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - - &reference.spl-types.entities.splenum; - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splenum/getconstlist.xml b/reference/spl_types/splenum/getconstlist.xml deleted file mode 100644 index 5b7fc69ff..000000000 --- a/reference/spl_types/splenum/getconstlist.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<refentry xml:id="splenum.getconstlist" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>SplEnum::getConstList</refname> - <refpurpose>Возвратить все константы (возможные значения) в виде массива</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <modifier>public</modifier> <type>array</type><methodname>SplEnum::getConstList</methodname> - <methodparam choice="opt"><type>bool</type><parameter>include_default</parameter><initializer>&false;</initializer></methodparam> - </methodsynopsis> - <para> - - </para> - - &warn.undocumented.func; - - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <variablelist> - <varlistentry> - <term><parameter>include_default</parameter></term> - <listitem> - <para> - Включать ли свойство <literal>__default</literal>. - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <function>SplEnum::getConstList</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -$bool = new SplBool; -var_dump($bool->getConstList(true)); -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -array(3) { - ["__default"]=> - bool(false) - ["false"]=> - bool(false) - ["true"]=> - bool(true) -} -]]> - </screen> - </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 ---> diff --git a/reference/spl_types/splfloat.xml b/reference/spl_types/splfloat.xml deleted file mode 100644 index 2555e80b8..000000000 --- a/reference/spl_types/splfloat.xml +++ /dev/null @@ -1,131 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 3cf1fede294079c70ae7c795dbe47ada7f48640d Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splfloat" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplFloat</title> - <titleabbrev>SplFloat</titleabbrev> - - <partintro> - - <!-- {{{ SplFloat intro --> - <section xml:id="splfloat.intro"> - &reftitle.intro; - <para> - Класс SplFloat используется для обеспечения сильной типизации типа числа с плавающей точкой. - </para> - </section> - <!-- }}} --> - - <section xml:id="splfloat.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplFloat</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplFloat</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>float</type> - <varname linkend="splfloat.constants.default">SplFloat::__default</varname> - <initializer>0</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplFloat constants --> - <section xml:id="splfloat.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splfloat.constants.default"> - <term><constant>SplFloat::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splfloat.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplFloat</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$float = new SplFloat(3.154); -$newFloat = new SplFloat(3); - -try { - $float = 'Try to cast a string value for fun'; -} catch (UnexpectedValueException $uve) { - echo $e->getMessage() . PHP_EOL; -} - -echo $float . PHP_EOL; -echo $newFloat . PHP_EOL; -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not a float -3.154 -3 -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splint.xml b/reference/spl_types/splint.xml deleted file mode 100644 index d53512e17..000000000 --- a/reference/spl_types/splint.xml +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.splint" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplInt</title> - <titleabbrev>SplInt</titleabbrev> - - <partintro> - - <!-- {{{ SplInt intro --> - <section xml:id="splint.intro"> - &reftitle.intro; - <para> - Класс SplInt используется для обеспечения сильной типизации целочисленного типа. - </para> - </section> - <!-- }}} --> - - <section xml:id="splint.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplInt</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplInt</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>int</type> - <varname linkend="splint.constants.default">SplInt::__default</varname> - <initializer>0</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplInt constants --> - <section xml:id="splint.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splint.constants.default"> - <term><constant>SplInt::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splint.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplInt</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$int = new SplInt(94); - -try { - $int = 'Try to cast a string value for fun'; -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} - -echo $int . PHP_EOL; -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not an integer -94 -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/splstring.xml b/reference/spl_types/splstring.xml deleted file mode 100644 index 8e43b160e..000000000 --- a/reference/spl_types/splstring.xml +++ /dev/null @@ -1,133 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 50849115569da4ebf240f73d68923995881f9653 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplString</title> - <titleabbrev>SplString</titleabbrev> - - <partintro> - - <!-- {{{ SplString intro --> - <section xml:id="splstring.intro"> - &reftitle.intro; - <para> - Класс SplString используется для обеспечения сильной типизации строкового типа. - </para> - </section> - <!-- }}} --> - - <section xml:id="splstring.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplString</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <classname>SplString</classname> - </ooclass> - - <ooclass> - <modifier>extends</modifier> - <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>string</type> - <varname linkend="splstring.constants.default">SplString::__default</varname> - <initializer>''</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplString constants --> - <section xml:id="splstring.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="splstring.constants.default"> - <term><constant>SplString::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - <!-- {{{ examples --> - <section xml:id="splstring.examples"> - &reftitle.examples; - <para> - <example> - <title>Пример использования <classname>SplString</classname></title> - <programlisting role="php"> -<![CDATA[ -<?php -$string = new SplString("Testing"); - -try { - $string = array(); -} catch (UnexpectedValueException $uve) { - echo $uve->getMessage() . PHP_EOL; -} - -var_dump($string); -echo $string; // Outputs "Testing" -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Value not a string -object(SplString)#1 (1) { - ["__default"]=> - string(7) "Testing" -} -Testing -]]> - </screen> - </example> - </para> - </section> - <!-- }}} --> - - </partintro> - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/spltype.xml b/reference/spl_types/spltype.xml deleted file mode 100644 index 132521896..000000000 --- a/reference/spl_types/spltype.xml +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<phpdoc:classref xml:id="class.spltype" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> - - <title>Класс SplType</title> - <titleabbrev>SplType</titleabbrev> - - <partintro> - - <!-- {{{ SplType intro --> - <section xml:id="spltype.intro"> - &reftitle.intro; - <para> - Родительский класс для всех типов SPL. - </para> - </section> - <!-- }}} --> - - <section xml:id="spltype.synopsis"> - &reftitle.classsynopsis; - - <!-- {{{ Synopsis --> - <classsynopsis> - <ooclass><classname>SplType</classname></ooclass> - - <!-- {{{ Class synopsis --> - <classsynopsisinfo> - <ooclass> - <modifier>abstract</modifier> <classname>SplType</classname> - </ooclass> - </classsynopsisinfo> - <!-- }}} --> - <classsynopsisinfo role="comment">Константы</classsynopsisinfo> - <fieldsynopsis> - <modifier>const</modifier> - <type>NULL</type> - <varname linkend="spltype.constants.default">SplType::__default</varname> - <initializer>&null;</initializer> - </fieldsynopsis> - - <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo> - <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" /> - </classsynopsis> - <!-- }}} --> - - </section> - - <!-- {{{ SplType constants --> - <section xml:id="spltype.constants"> - &reftitle.constants; - <variablelist> - - <varlistentry xml:id="spltype.constants.default"> - <term><constant>SplType::__default</constant></term> - <listitem> - <para></para> - </listitem> - </varlistentry> - - </variablelist> - </section> - <!-- }}} --> - - - </partintro> - - &reference.spl-types.entities.spltype; - -</phpdoc:classref> - -<!-- 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 ---> diff --git a/reference/spl_types/spltype/construct.xml b/reference/spl_types/spltype/construct.xml deleted file mode 100644 index e0cc4654a..000000000 --- a/reference/spl_types/spltype/construct.xml +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 37b30e4e87272dbc417c309c1aebe4f386384bd7 Maintainer: rjhdby Status: ready --> -<!-- Reviewed: yes --> -<!-- $Revision$ --> -<refentry xml:id="spltype.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>SplType::__construct</refname> - <refpurpose>Создать новое значение некоторого типа</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <methodname>SplType::__construct</methodname> - <methodparam choice="opt"><type>mixed</type><parameter>initial_value</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>strict</parameter></methodparam> - </methodsynopsis> - <para> - - </para> - - &warn.undocumented.func; - - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <variablelist> - <varlistentry> - <term><parameter>initial_value</parameter></term> - <listitem> - <para> - Тип и значение по умолчания зависят от расширения класса. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>strict</parameter></term> - <listitem> - <para> - Установить ли объектную строгость. - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1 role="errors"> - &reftitle.errors; - <para> - Выбрасывает <classname>UnexpectedValueException</classname> если задан несовместимый тип. - </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 --->