svn: /phpdoc/fa/trunk/ language/oop5/basic.xml language/operators.xml reference/ktaglib/mpegfile/getID3v1Tag.xml reference/ktaglib/mpegfile/getID3v2Tag.xml reference/wddx/functions/wddx-serialize-value.xml reference/win32service/functions/win32-get-last-control-message.xml reference/zlib/functions/gzread.xml reference/zlib/functions/gztell.xml

[email protected] (Pedram Salehpoor)
Newsgroups php.doc.fa
Message-ID <[email protected]>
psalehpoor                               Wed, 14 Apr 2010 13:46:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=297991

Log:
translated

Changed paths:
    U   phpdoc/fa/trunk/language/oop5/basic.xml
    U   phpdoc/fa/trunk/language/operators.xml
    U   phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v1Tag.xml
    U   phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v2Tag.xml
    A   phpdoc/fa/trunk/reference/wddx/functions/wddx-serialize-value.xml
    A   phpdoc/fa/trunk/reference/win32service/functions/win32-get-last-control-message.xml
    A   phpdoc/fa/trunk/reference/zlib/functions/gzread.xml
    U   phpdoc/fa/trunk/reference/zlib/functions/gztell.xml
svn-diffs-297991.txt (text/x-diff, 13.2 KB)
Modified: phpdoc/fa/trunk/language/oop5/basic.xml
===================================================================
--- phpdoc/fa/trunk/language/oop5/basic.xml	2010-04-14 13:46:43 UTC (rev 297990)
+++ phpdoc/fa/trunk/language/oop5/basic.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297948 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -11,7 +11,7 @@
   <sect2 xml:id="language.oop5.basic.class">
    <title>class</title>
    <para>
-    Every class definition begins with the
+    Basic class definition begins with the
     keyword <literal>class</literal>, followed by a class name,
     followed by a pair of curly braces which enclose the definitions
     of the class's properties and methods.

Modified: phpdoc/fa/trunk/language/operators.xml
===================================================================
--- phpdoc/fa/trunk/language/operators.xml	2010-04-14 13:46:43 UTC (rev 297990)
+++ phpdoc/fa/trunk/language/operators.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297272 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -174,7 +174,7 @@
        <row>
         <entry>right</entry>
         <entry>
-         = += -= *= /= .= %= &amp;= |= ^= &lt;&lt;= &gt;&gt;=
+         = += -= *= /= .= %= &amp;= |= ^= &lt;&lt;= &gt;&gt;= =&gt;
         </entry>
         <entry>
          <link linkend="language.operators.assignment">assignment</link>
@@ -338,6 +338,11 @@
     </informalexample>
    </para>
    <para>
+    For <type>arrays</type>, assigning a value to a named key is performed using
+    the "=&gt;" operator. The <link linkend="language.operators.precedence">precedence</link>
+    of this operator is the same as other assignment operators.
+   </para>
+   <para>
     In addition to the basic assignment operator, there are "combined
     operators" for all of the <link linkend="language.operators">binary
     arithmetic</link>, array union and string operators that allow you to use a value in an

Modified: phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v1Tag.xml
===================================================================
--- phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v1Tag.xml	2010-04-14 13:46:43 UTC (rev 297990)
+++ phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v1Tag.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -1,4 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="mpegfile.getID3v1Tag" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>

Modified: phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v2Tag.xml
===================================================================
--- phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v2Tag.xml	2010-04-14 13:46:43 UTC (rev 297990)
+++ phpdoc/fa/trunk/reference/ktaglib/mpegfile/getID3v2Tag.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -1,4 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="mpegfile.getId3v2Tag" xmlns="http://docbook.org/ns/docbook">
   <refnamediv>

Added: phpdoc/fa/trunk/reference/wddx/functions/wddx-serialize-value.xml
===================================================================
--- phpdoc/fa/trunk/reference/wddx/functions/wddx-serialize-value.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/wddx/functions/wddx-serialize-value.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+<refentry xml:id="function.wddx-serialize-value" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>wddx_serialize_value</refname>
+  <refpurpose>سریال‌سازی تک مقدار در بسته WDDX</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>wddx_serialize_value</methodname>
+   <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>comment</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   ساخت بسته WDDX از تک مقدار داده شده.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>var</parameter></term>
+     <listitem>
+      <para>
+       مقدار برای سریال‌سازی
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>comment</parameter></term>
+     <listitem>
+      <para>
+       رشته توضیح اختیاری نمایش داده شده در سرایند بسته.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   بازگرداندن بسته WDDX یا &false; در صورت خطا.
+  </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
+-->


Property changes on: phpdoc/fa/trunk/reference/wddx/functions/wddx-serialize-value.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/win32service/functions/win32-get-last-control-message.xml
===================================================================
--- phpdoc/fa/trunk/reference/win32service/functions/win32-get-last-control-message.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/win32service/functions/win32-get-last-control-message.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+<refentry xml:id="function.win32-get-last-control-message" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>win32_get_last_control_message</refname>
+  <refpurpose>بازگرداندن آخرین پیام کنترل فرستاده شده به این خدمت</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>int</type><methodname>win32_get_last_control_message</methodname>
+   <void/>
+  </methodsynopsis>
+
+  <para>
+   بازگرداندن کد کنترل که آخرین بار به این پردازه خدمت فرستاده شده است.
+   هنگام اجرای خدمت باید به صورت دوره‌ای آن را بررسی کنید تا اگر خدمت شما نیاز به توقف داشته باشد آن را متوقف کنید.
+  </para>
+
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Returns a control constant; one of <constant>WIN32_SERVICE_CONTROL_CONTINUE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_INTERROGATE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_PAUSE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_STOP</constant>,
+   <constant>WIN32_SERVICE_CONTROL_HARDWAREPROFILECHANGE</constant>,
+   <constant>WIN32_SERVICE_CONTROL_POWEREVENT</constant>,
+   <constant>WIN32_SERVICE_CONTROL_SESSIONCHANGE</constant>.
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>win32_start_service_ctrl_dispatcher</function></member>
+   </simplelist>
+  </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
+-->


Property changes on: phpdoc/fa/trunk/reference/win32service/functions/win32-get-last-control-message.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/zlib/functions/gzread.xml
===================================================================
--- phpdoc/fa/trunk/reference/zlib/functions/gzread.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/zlib/functions/gzread.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+<refentry xml:id="function.gzread" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>gzread</refname>
+  <refpurpose>خواندن باینری امن gz-file</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>gzread</methodname>
+   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <methodparam><type>int</type><parameter>length</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   <function>gzread</function> خواندن تا <parameter>length</parameter> از اشاره‌گر
+   gz-file. خواندن هنگام رسیدن به طول
+   <parameter>length</parameter> بایت غیرفشرده یا رسیدن به
+   <acronym>EOF</acronym> هر کدام زودتر باشد پایان می‌یابد.
+  </para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>zp</parameter></term>
+     <listitem>
+      <para>
+       اشاره‌گر gz-file. باید صحیح باشد و به فایل باز شده موفق
+       <function>gzopen</function> اشاره کند.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>length</parameter></term>
+     <listitem>
+      <para>
+       تعداد بایت‌های برای خوانده شدن.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   داده خوانده شده.
+  </para>
+ </refsect1>
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>مثال <function>gzread</function></title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+// get contents of a gz-file into a string
+$filename = "/usr/local/something.txt.gz";
+$zd = gzopen($filename, "r");
+$contents = gzread($zd, 10000);
+gzclose($zd);
+?>
+]]>
+    </programlisting>
+   </example>
+  </para>
+ </refsect1>
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>gzwrite</function></member>
+    <member><function>gzopen</function></member>
+    <member><function>gzgets</function></member>
+    <member><function>gzgetss</function></member>
+    <member><function>gzfile</function></member>
+    <member><function>gzpassthru</function></member>
+   </simplelist>
+  </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
+-->


Property changes on: phpdoc/fa/trunk/reference/zlib/functions/gzread.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Modified: phpdoc/fa/trunk/reference/zlib/functions/gztell.xml
===================================================================
--- phpdoc/fa/trunk/reference/zlib/functions/gztell.xml	2010-04-14 13:46:43 UTC (rev 297990)
+++ phpdoc/fa/trunk/reference/zlib/functions/gztell.xml	2010-04-14 13:46:57 UTC (rev 297991)
@@ -1,4 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.gztell" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.