Home  |  Linux  | Mysql  | PHP  | XML
From:Pedram Salehpoor Date:Wed Jul  2 11:07:03 2008
Subject:cvs: phpdoc-fa /language/predefined errorexception.xml exception.xml exceptions.xml variables.xml
psalehpoor		Wed Jul  2 17:07:03 2008 UTC

  Added files:                 
    /phpdoc-fa/language/predefined	errorexception.xml exception.xml 
                                  	exceptions.xml variables.xml 
  Log:
  translation to persian
  

http://cvs.php.net/viewvc.cgi/phpdoc-fa/language/predefined/errorexception.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/errorexception.xml
+++ phpdoc-fa/language/predefined/errorexception.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.2 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->

<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">
 <title>ErrorException</title>
 
 <partintro>
 
<!-- {{{ ErrorException intro -->
  <section xml:id="errorexception.intro">
   &reftitle.intro;
   <para>
    یک استثنای خطا.
   </para>
  </section>
<!-- }}} -->
 
  <section xml:id="errorexception.synopsis">
   &reftitle.classsynopsis;
 
<!-- {{{ Synopsis -->
   <classsynopsis>
    <ooclass><classname>ErrorException</classname></ooclass>
 
<!-- {{{ Class synopsis -->
    <classsynopsisinfo>
     <ooclass>
      <classname>ErrorException</classname>
     </ooclass>
 
     <ooclass>
      <modifier>extends</modifier>
      <classname>Exception</classname>
     </ooclass>
    </classsynopsisinfo>
<!-- }}} -->
 
    <classsynopsisinfo role="comment">Properties</classsynopsisinfo>
    <fieldsynopsis>
     <modifier>protected</modifier>
     <type>int</type>
     <varname linkend="errorexception.props.severity">severity</varname>
    </fieldsynopsis>
 
    <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">Inherited methods</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>
<!-- }}} -->
 
  </section>
 
<!-- {{{ ErrorException properties -->
  <section xml:id="errorexception.props">
   &reftitle.properties;
   <variablelist>
    <varlistentry xml:id="errorexception.props.severity">
     <term><varname>severity</varname></term>
     <listitem>
      <para>میزان خطرناک بودن استثنا</para>
     </listitem>
    </varlistentry>
   </variablelist>
  </section>
<!-- }}} -->
<!-- {{{ Example -->
  <section xml:id="errorexception.examples">
   &reftitle.examples;
   <para>
    <example xml:id="errorexception.example.error-handler"><!-- {{{ -->
     <title>تبدیل تمام پیام‌ها به ErrorException.</title>
     <programlisting role="php">
 <![CDATA[
<?php
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");

/* Trigger exception */
strpos();
?>
]]>
     </programlisting>
     &example.outputs.similar;
     <screen>
<![CDATA[
Fatal error: Uncaught exception 'ErrorException' with message 'Wrong parameter count for strpos()' in /home/bjori/tmp/ex.php:8
Stack trace:
#0 [internal function]: exception_error_handler(2, 'Wrong parameter...', '/home/bjori/php...', 8, Array)
#1 /home/bjori/php/cleandocs/test.php(8): strpos()
#2 {main}
  thrown in /home/bjori/tmp/ex.php on line 8
]]>
     </screen>
    </example><!-- }}} -->
   </para>
  </section>
 
 </partintro>
 
 &language.predefined.errorexception.construct;
 &language.predefined.errorexception.getseverity;
 
</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:"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.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exception.xml
+++ phpdoc-fa/language/predefined/exception.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.2 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->

<reference xml:id="class.exception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
 <title>استثنا</title>
 
 <partintro>
 
<!-- {{{ Exception intro -->
  <section xml:id="exception.intro">
   &reftitle.intro;
   <para>
    <ooclass><classname>Exception</classname></ooclass> کلاس پایه برای تمام استثنا است.
   </para>
  </section>
<!-- }}} -->
 
  <section xml:id="exception.synopsis">
   &reftitle.classsynopsis;
 
<!-- {{{ Synopsis -->
   <classsynopsis>
    <ooclass><classname>Exception</classname></ooclass>
 
<!-- {{{ Class synopsis -->
    <classsynopsisinfo>
     <ooclass>
      <classname>Exception</classname>
     </ooclass>
    </classsynopsisinfo>
<!-- }}} -->
 
    <classsynopsisinfo role="comment">Properties</classsynopsisinfo>
    <fieldsynopsis>
     <modifier>protected</modifier>
     <type>string</type>
     <varname linkend="exception.props.message">message</varname>
    </fieldsynopsis>
    <fieldsynopsis>
     <modifier>private</modifier>
     <type>string</type>
     <varname linkend="exception.props.string">string</varname>
    </fieldsynopsis>
    <fieldsynopsis>
     <modifier>protected</modifier>
     <type>int</type>
     <varname linkend="exception.props.code">code</varname>
    </fieldsynopsis>
    <fieldsynopsis>
     <modifier>protected</modifier>
     <type>string</type>
     <varname linkend="exception.props.file">file</varname>
    </fieldsynopsis>
    <fieldsynopsis>
     <modifier>protected</modifier>
     <type>int</type>
     <varname linkend="exception.props.line">line</varname>
    </fieldsynopsis>
    <fieldsynopsis>
     <modifier>private</modifier>
     <type>array</type>
     <varname linkend="exception.props.trace">trace</varname>
    </fieldsynopsis>

    <classsynopsisinfo role="comment">Methods</classsynopsisinfo>
    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" />
    <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>
 
<!-- }}} -->
 
  </section>
 
<!-- {{{ Exception properties -->
  <section xml:id="exception.props">
   &reftitle.properties;
   <variablelist>
    <varlistentry xml:id="exception.props.message">
     <term><varname>message</varname></term>
     <listitem>
      <para>پیام استثنا</para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="exception.props.string">
     <term><varname>string</varname></term>
     <listitem>
      <para>نام داخلی استثنا</para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="exception.props.code">
     <term><varname>code</varname></term>
     <listitem>
      <para>کد استثنا</para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="exception.props.file">
     <term><varname>file</varname></term>
     <listitem>
      <para>نام فایل ایجاد کننده استثنا</para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="exception.props.line">
     <term><varname>line</varname></term>
     <listitem>
      <para>خط ایجاد استثنا</para>
     </listitem>
    </varlistentry>
    <varlistentry xml:id="exception.props.trace">
     <term><varname>trace</varname></term>
     <listitem>
      <para>استک دنبال نمودن تغییرات</para>
     </listitem>
    </varlistentry>
   </variablelist>
  </section>
<!-- }}} -->
 
 </partintro>
 
 &language.predefined.exception.construct;
 &language.predefined.exception.getmessage;
 &language.predefined.exception.getcode;
 &language.predefined.exception.getfile;
 &language.predefined.exception.getline;
 &language.predefined.exception.gettrace;
 &language.predefined.exception.gettraceasstring;
 &language.predefined.exception.tostring;
 &language.predefined.exception.clone;
 
</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:"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/exceptions.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/exceptions.xml
+++ phpdoc-fa/language/predefined/exceptions.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.1 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->

<part xml:id="reserved.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>استثناهای از پیش تعریف شده</title>

 &language.predefined.exception;
 &language.predefined.errorexception;

</part>

<!-- 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/variables.xml?view=markup&rev=1.1
Index: phpdoc-fa/language/predefined/variables.xml
+++ phpdoc-fa/language/predefined/variables.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.3 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->

<reference xml:id="reserved.variables" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>متغیرهای از پیش تعریف شده</title>

 <partintro>

  <para>
   PHP تعداد زیادی متغیر از پیش تعریف شده را فراهم نموده است 
   تا در همه اسکریپت‌ها به کار رود. متغیرها همه چیز را از   
   <link linkend="language.variables.external">متغیرهای خارجی</link> به متغیرهای محیطی داخلی٬ پیام‌های خطا تا سرآیند‌های بدست 
   آمده را نشان می‌دهند.
  </para>
  
  <para>
   بخش پرسش و پاسخ با عنوان
   "<link linkend="faq.register-globals">چگونه register_globals بر من اثر می‌گذارد؟</link>" را ببینید
  </para>

 </partintro>

 &language.predefined.variables.superglobals;
 &language.predefined.variables.globals;
 &language.predefined.variables.server;
 &language.predefined.variables.get;
 &language.predefined.variables.post;
 &language.predefined.variables.files;
 &language.predefined.variables.request;
 &language.predefined.variables.session;
 &language.predefined.variables.env;
 &language.predefined.variables.cookie;
 &language.predefined.variables.phperrormsg;
 &language.predefined.variables.httprawpostdata;
 &language.predefined.variables.httpresponseheader;
 &language.predefined.variables.argc;
 &language.predefined.variables.argv;

</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:"../../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