LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Pedram Salehpoor Date: Wed Jul 2 11:08:03 2008 Subject: cvs: phpdoc-fa /language/predefined/exception clone.xml construct.xml getcode.xml getfile.xml getline.xml getmessage.xml gettrace.xml
gettraceasstring.xml tostring.xml
psalehpoor Wed Jul 2 17:08:03 2008 UTC
Added files:
/phpdoc-fa/language/predefined/exception clone.xml construct.xml
getcode.xml getfile.xml
getline.xml getmessage.xml
gettrace.xml
gettraceasstring.xml
tostring.xml
Log:
translation to persian
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/clone.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/clone.xml
+++ phpdoc-fa/language/predefined/exception/clone.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.2 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.clone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::__clone</refname>
<refpurpose>کپی استثنا</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>private</modifier> <type>string</type><methodname>Exception::__clone</methodname>
<void />
</methodsynopsis>
<para>
تلاش مینماید که استثنا را کپی کند که در نتیجه خطای مرگبار ایجاد مینماید.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.void;
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
استثناها قابل کپی کردن نیستند.
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/construct.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/construct.xml
+++ phpdoc-fa/language/predefined/exception/construct.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::__construct</refname>
<refpurpose>ساخت استثنا</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis>
<modifier>public</modifier> <methodname>Exception::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam>
</constructorsynopsis>
<para>
استثنا را میسازد.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>message</parameter></term>
<listitem>
<para>
پیام استثنا ایجاد شده.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>code</parameter></term>
<listitem>
<para>
کد استثنا.
</para>
</listitem>
</varlistentry>
</variablelist>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getcode.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/getcode.xml
+++ phpdoc-fa/language/predefined/exception/getcode.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.getcode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getCode</refname>
<refpurpose>کد استثنا را باز میگرداند</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname>
<void />
</methodsynopsis>
<para>
بازگرداندن کد استثنا.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
کد استثنا را بصورت <type>integer</type> باز میگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getCode</function></title>
<programlisting role="php">
<![CDATA[
<?php
try {
throw new Exception("Some error message", 30);
} catch(Exception $e) {
echo "The exception code is: " . $e->getCode();
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
The exception code is: 30
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getfile.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/getfile.xml
+++ phpdoc-fa/language/predefined/exception/getfile.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.getfile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getFile</refname>
<refpurpose>نام فایل ایجاد کننده استثنا را باز میگرداند</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getFile</methodname>
<void />
</methodsynopsis>
<para>
نام فایل ایجاد کننده استثنا را باز میگرداند.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
نام فایل ایجاد کننده استثنا را باز میگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getFile</function></title>
<programlisting role="php">
<![CDATA[
<?php
try {
throw new Exception;
} catch(Exception $e) {
echo $e->getFile();
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
/home/bjori/tmp/ex.php
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getline.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/getline.xml
+++ phpdoc-fa/language/predefined/exception/getline.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.getline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getLine</refname>
<refpurpose>خط ایجاد کننده استثنا را مییابد</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getLine</methodname>
<void />
</methodsynopsis>
<para>
شماره خط تولید کننده استثنا را باز میگرداند.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
شماره خط تولید کننده استثنا را باز میگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getLine</function></title>
<programlisting role="php">
<![CDATA[
<?php
try {
throw new Exception("Some error message");
} catch(Exception $e) {
echo "The exception was thrown on line: " . $e->getLine();
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
The exception was thrown on line: 3
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/getmessage.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/getmessage.xml
+++ phpdoc-fa/language/predefined/exception/getmessage.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.getmessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getMessage</refname>
<refpurpose>پیام استثنا را میگیرد</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getMessage</methodname>
<void />
</methodsynopsis>
<para>
پیام استثنا را بازمیگرداند.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
پیام استثنا را به عنوان رشته باز میذگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getMessage</function></title>
<programlisting role="php">
<![CDATA[
<?php
try {
throw new Exception("Some error message");
} catch(Exception $e) {
echo $e->getMessage();
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Some error message
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettrace.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/gettrace.xml
+++ phpdoc-fa/language/predefined/exception/gettrace.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.4 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getTrace</refname>
<refpurpose>پشته پیگری را میگیرد</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>array</type><methodname>Exception::getTrace</methodname>
<void />
</methodsynopsis>
<para>
بازگرداندن پشته پیگیری استثنا.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
پشته پیگیری استثنا را بصورت<type>array</type> باز میگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getTrace</function></title>
<programlisting role="php">
<![CDATA[
<?php
function test() {
throw new Exception;
}
try {
test();
} catch(Exception $e) {
var_dump($e->getTrace());
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
array(1) {
[0]=>
array(4) {
["file"]=>
string(22) "/home/bjori/tmp/ex.php"
["line"]=>
int(7)
["function"]=>
string(4) "test"
["args"]=>
array(0) {
}
}
}
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/gettraceasstring.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/gettraceasstring.xml
+++ phpdoc-fa/language/predefined/exception/gettraceasstring.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.gettraceasstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getTraceAsString</refname>
<refpurpose>پشته پیگری را بصورت رشته بازمیگرداند</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getTraceAsString</methodname>
<void />
</methodsynopsis>
<para>
پیگری استثنا را برای رفع خطا را بصورت رشته ایجاد مینماید.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
پیگری استثنا را برای رفع خطا را بصورت رشته ایجاد مینماید.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::getTraceAsString</function></title>
<programlisting role="php">
<![CDATA[
<?php
function test() {
throw new Exception;
}
try {
test();
} catch(Exception $e) {
echo $e->getTraceAsString();
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
#0 /home/bjori/tmp/ex.php(7): test()
#1 {main}
]]>
</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:"../../../../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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/exception/tostring.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception/tostring.xml
+++ phpdoc-fa/language/predefined/exception/tostring.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="exception.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::__toString</refname>
<refpurpose>نمایش رشته استثنا</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>string</type> <methodname>Exception::__toString</methodname>
<void />
</methodsynopsis>
<para>
نمایش استثنا <type>string</type> را بازمیگرداند.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
نمایش استثنا <type>string</type> باز میگرداند.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>نمونه <function>Exception::__toString</function></title>
<programlisting role="php">
<![CDATA[
<?php
try {
throw new Exception("Some error message");
} catch(Exception $e) {
echo $e;
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
exception 'Exception' with message 'Some error message' in /home/bjori/tmp/ex.php:3
Stack trace:
#0 {main}
]]>
</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:"../../../../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
-->
| Navigate in group php.doc.fa at sever news.php.net | |
| Previous | Next |
| No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |