svn: /phpdoc/ru/trunk/language/predefined/ errorexception.xml
| From: | Shein Alexey | Date: | Wed, 01 Jun 2011 09:13:29 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/language/predefined/ errorexception.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-1848@lists.php.net to get a copy of this message | ||
shein Wed, 01 Jun 2011 09:13:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311703
Log:
Updated translation.
Changed paths:
U phpdoc/ru/trunk/language/predefined/errorexception.xml
Modified: phpdoc/ru/trunk/language/predefined/errorexception.xml
===================================================================
--- phpdoc/ru/trunk/language/predefined/errorexception.xml 2011-06-01 09:10:44 UTC (rev 311702)
+++ phpdoc/ru/trunk/language/predefined/errorexception.xml 2011-06-01 09:13:29 UTC (rev 311703)
@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 1.1 Status: ready $ -->
+<!-- EN-Revision: 292734 Maintainer: shein Status: ready -->
+<!-- Reviewed: no -->
<!-- $Revision$ -->
-<reference xml:id="class.errorexception" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+<phpdoc:exceptionref xml:id="class.errorexception"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:phpdoc="http://php.net/ns/phpdoc">
<title>ErrorException</title>
-
+ <titleabbrev>ErrorException</titleabbrev>
+
<partintro>
<!-- {{{ ErrorException intro -->
@@ -36,18 +42,18 @@
</classsynopsisinfo>
<!-- }}} -->
- <classsynopsisinfo role="comment">Свойства</classsynopsisinfo>
+ <classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
<type>int</type>
<varname linkend="errorexception.props.severity">severity</varname>
</fieldsynopsis>
- <classsynopsisinfo role="comment">Методы</classsynopsisinfo>
+ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.errorexception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])"
/>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.errorexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"
/>
- <classsynopsisinfo role="comment">Унаследованные
методы</classsynopsisinfo>
+ <classsynopsisinfo
role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])"
/>
</classsynopsis>
<!-- }}} -->
@@ -72,15 +78,12 @@
&reftitle.examples;
<para>
<example xml:id="errorexception.example.error-handler"><!-- {{{ -->
- <title>Пример использования
<classname>ErrorException</classname></title>
- <para>
- Превращаем все ошибки в
<classname>ErrorException</classname>.
- </para>
+ <title>Используем <function>set_error_handler</function> для
превращения сообщений об ошибках в ErrorException.</title>
<programlisting role="php">
<![CDATA[
<?php
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
-throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
+ throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");
@@ -109,7 +112,7 @@
&language.predefined.errorexception.construct;
&language.predefined.errorexception.getseverity;
-</reference>
+</phpdoc:exceptionref>
<!-- Keep this comment at the end of the file
Local variables:
@@ -122,7 +125,7 @@
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
-sgml-default-dtd-file:"manual.ced"
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil