svn: /phpdoc/bg/trunk/language/predefined/errorexception/ construct.xml getseverity.xml
[email protected] (Stanislav Yordanov) Sun, 27 Mar 2016 00:15:22 +0000
| Newsgroups | php.doc.bg |
|---|---|
| Message-ID | <[email protected]> |
stanprog Sun, 27 Mar 2016 00:15:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338830
Log:
sync to EN
Changed paths:
U phpdoc/bg/trunk/language/predefined/errorexception/construct.xml
U phpdoc/bg/trunk/language/predefined/errorexception/getseverity.xml
Modified: phpdoc/bg/trunk/language/predefined/errorexception/construct.xml
===================================================================
--- phpdoc/bg/trunk/language/predefined/errorexception/construct.xml 2016-03-26 23:55:40 UTC (rev 338829)
+++ phpdoc/bg/trunk/language/predefined/errorexception/construct.xml 2016-03-27 00:15:22 UTC (rev 338830)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: kouber Status: ready -->
-
+<!-- EN-Revision: 328246 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: kouber -->
<refentry xml:id="errorexception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ErrorException::__construct</refname>
@@ -12,11 +12,12 @@
&reftitle.description;
<constructorsynopsis>
<modifier>public</modifier> <methodname>ErrorException::__construct</methodname>
- <methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>severity</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>lineno</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>""</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>severity</parameter><initializer>1</initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>filename</parameter><initializer>__FILE__</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>lineno</parameter><initializer>__LINE__</initializer></methodparam>
+ <methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
<para>
Конструира изключението.
@@ -67,11 +68,43 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>previous</parameter></term>
+ <listitem>
+ <para>
+ Предишното изключение. Използва се за създаване на верижни изключения.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ Добавен е параметъра <parameter>previous</parameter>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
</refentry>
-
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/bg/trunk/language/predefined/errorexception/getseverity.xml
===================================================================
--- phpdoc/bg/trunk/language/predefined/errorexception/getseverity.xml 2016-03-26 23:55:40 UTC (rev 338829)
+++ phpdoc/bg/trunk/language/predefined/errorexception/getseverity.xml 2016-03-27 00:15:22 UTC (rev 338830)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: n/a Maintainer: kouber Status: ready -->
-
+<!-- EN-Revision: 288721 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: kouber -->
<refentry xml:id="errorexception.getseverity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ErrorException::getSeverity</refname>
@@ -35,7 +35,7 @@
&reftitle.examples;
<para>
<example>
- <title>Пример за <function>ErrorException</function></title>
+ <title>Пример за <function>ErrorException::getSeverity</function></title>
<programlisting role="php">
<![CDATA[
<?php