svn: /phpdoc/fa/trunk/reference/ datetime/dateperiod/construct.xml datetime/datetime/construct.xml gmagick/gmagick/getimagewidth.xml gmagick/gmagick/getpackagename.xml gmagick/gmagick/getquantumdepth.xml mongo/mongogridfsfile/getbytes.xml mongo/mongogridfsfile/write.xml tokyo_tyrant/tokyotyrant/put.xml tokyo_tyrant/tokyotyrant/putnr.xml zip/ziparchive/deletename.xml

[email protected] (Pedram Salehpoor)
Newsgroups php.doc.fa
Message-ID <[email protected]>
psalehpoor                               Sun, 23 May 2010 09:16:50 +0000

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

Log:
update and translation

Changed paths:
    U   phpdoc/fa/trunk/reference/datetime/dateperiod/construct.xml
    U   phpdoc/fa/trunk/reference/datetime/datetime/construct.xml
    A   phpdoc/fa/trunk/reference/gmagick/gmagick/getimagewidth.xml
    A   phpdoc/fa/trunk/reference/gmagick/gmagick/getpackagename.xml
    A   phpdoc/fa/trunk/reference/gmagick/gmagick/getquantumdepth.xml
    U   phpdoc/fa/trunk/reference/mongo/mongogridfsfile/getbytes.xml
    U   phpdoc/fa/trunk/reference/mongo/mongogridfsfile/write.xml
    U   phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/put.xml
    U   phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/putnr.xml
    U   phpdoc/fa/trunk/reference/zip/ziparchive/deletename.xml
svn-diffs-299638.txt (text/x-diff, 15.1 KB)
Modified: phpdoc/fa/trunk/reference/datetime/dateperiod/construct.xml
===================================================================
--- phpdoc/fa/trunk/reference/datetime/dateperiod/construct.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/datetime/dateperiod/construct.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 299461 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299487 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -11,21 +11,21 @@

  <refsect1 role="description">
   &reftitle.description;
-  <constructorsynopsis>
+  <constructorsynopsis role="oop">
    <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
    <methodparam><type>DateTime</type><parameter>start</parameter></methodparam>
    <methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
    <methodparam><type>int</type><parameter>recurrences</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
   </constructorsynopsis>
-  <constructorsynopsis role="oop">
+  <constructorsynopsis>
    <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
    <methodparam><type>DateTime</type><parameter>start</parameter></methodparam>
    <methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
    <methodparam><type>DateTime</type><parameter>end</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
   </constructorsynopsis>
-  <constructorsynopsis role="oop">
+  <constructorsynopsis>
    <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
    <methodparam><type>string</type><parameter>isostr</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>

Modified: phpdoc/fa/trunk/reference/datetime/datetime/construct.xml
===================================================================
--- phpdoc/fa/trunk/reference/datetime/datetime/construct.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/datetime/datetime/construct.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -13,7 +13,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <para>&style.oop;</para>
-  <constructorsynopsis>
+  <constructorsynopsis role="oop">
    <modifier>public</modifier> <methodname>DateTime::__construct</methodname>
    <methodparam choice="opt"><type>string</type><parameter>time</parameter><initializer>"now"</initializer></methodparam>
    <methodparam choice="opt"><type>DateTimeZone</type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam>

Added: phpdoc/fa/trunk/reference/gmagick/gmagick/getimagewidth.xml
===================================================================
--- phpdoc/fa/trunk/reference/gmagick/gmagick/getimagewidth.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/gmagick/gmagick/getimagewidth.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="gmagick.getimagewidth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>Gmagick::getimagewidth</refname>
+  <refpurpose>بازگرداندن پهنای تصویر</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>void</type><methodname>Gmagick::getimagewidth</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="errors">
+  &reftitle.errors;
+  <para>
+   &gmagick.gmagickexception.throw;
+  </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/gmagick/gmagick/getimagewidth.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/gmagick/gmagick/getpackagename.xml
===================================================================
--- phpdoc/fa/trunk/reference/gmagick/gmagick/getpackagename.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/gmagick/gmagick/getpackagename.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="gmagick.getpackagename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>Gmagick::getpackagename</refname>
+  <refpurpose>بازگرداندن نام پکیج GraphicsMagick</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>void</type><methodname>Gmagick::getpackagename</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   بازگرداندن نام پکیج GraphicsMagick.
+  </para>
+
+
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   بازگرداندن نام پکیج GraphicsMagick به عنوان رشته.
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   &gmagick.gmagickexception.throw;
+  </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/gmagick/gmagick/getpackagename.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/gmagick/gmagick/getquantumdepth.xml
===================================================================
--- phpdoc/fa/trunk/reference/gmagick/gmagick/getquantumdepth.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/gmagick/gmagick/getquantumdepth.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="gmagick.getquantumdepth" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>Gmagick::getquantumdepth</refname>
+  <refpurpose>بازگرداندن عمق کوانتوم Gmagick به عنوان رشته </refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>void</type><methodname>Gmagick::getquantumdepth</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   بازگرداندن عمق کوانتوم Gmagick به عنوان رشته .
+  </para>
+
+
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   بازگرداندن عمق کوانتوم Gmagick به عنوان رشته .
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   &gmagick.gmagickexception.throw;
+  </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/gmagick/gmagick/getquantumdepth.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Modified: phpdoc/fa/trunk/reference/mongo/mongogridfsfile/getbytes.xml
===================================================================
--- phpdoc/fa/trunk/reference/mongo/mongogridfsfile/getbytes.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/mongo/mongogridfsfile/getbytes.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299506 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->

 <!-- $Revision$ -->
@@ -32,6 +32,26 @@
    بازگرداندن رشته به بایت در فایل.
   </para>
  </refsect1>
+
+  <refsect1 role="examples">
+  &reftitle.examples;
+  <example>
+   <title>مثال <methodname>MongoGridFSFile::getBytes</methodname></title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+
+$images = $db->my_db->getGridFS('images');
+
+$image = $images->findOne('jwage.png');
+
+header('Content-type: image/png;');
+echo $image->getBytes();
+?>
+]]>
+   </programlisting>
+  </example>
+ </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file
 Local variables:

Modified: phpdoc/fa/trunk/reference/mongo/mongogridfsfile/write.xml
===================================================================
--- phpdoc/fa/trunk/reference/mongo/mongogridfsfile/write.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/mongo/mongogridfsfile/write.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299506 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->

 <!-- $Revision$ -->
@@ -38,6 +38,24 @@
    بازگرداندن تعداد بایت‌های نوشته شده.
   </para>
  </refsect1>
+
+  <refsect1 role="examples">
+  &reftitle.examples;
+  <example>
+   <title>مثال <methodname>MongoGridFSFile::write</methodname></title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+
+$images = $db->my_db->getGridFS('images');
+
+$image = $images->findOne('jwage.png');
+$image->write('/path/to/write/jwage.png');
+?>
+]]>
+   </programlisting>
+  </example>
+ </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file
 Local variables:

Modified: phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/put.xml
===================================================================
--- phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/put.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/put.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 290998 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299557 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -14,7 +14,7 @@
   <methodsynopsis>
    <modifier>public</modifier> <type>TokyoTyrant</type><methodname>TokyoTyrant::put</methodname>
    <methodparam><type>mixed</type><parameter>keys</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>value</parameter><initializer>NULL</initializer></methodparam>
   </methodsynopsis>
   <para>
    قرار دادن جفت کلید مقدار در پایگاه داده یا چندین جفت کلید مقدار.

Modified: phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/putnr.xml
===================================================================
--- phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/putnr.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/tokyo_tyrant/tokyotyrant/putnr.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 290998 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299558 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->

@@ -14,7 +14,7 @@
   <methodsynopsis>
    <modifier>public</modifier> <type>TokyoTyrant</type><methodname>TokyoTyrant::putNr</methodname>
    <methodparam><type>mixed</type><parameter>keys</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
+   <methodparam choice="opt"><type>string</type><parameter>value</parameter><initializer>NULL</initializer></methodparam>
   </methodsynopsis>
   <para>
    قرار دادن جفت کلید مقدار در پایگاه داده یا چندین جفت کلید مقدار.

Modified: phpdoc/fa/trunk/reference/zip/ziparchive/deletename.xml
===================================================================
--- phpdoc/fa/trunk/reference/zip/ziparchive/deletename.xml	2010-05-23 03:57:58 UTC (rev 299637)
+++ phpdoc/fa/trunk/reference/zip/ziparchive/deletename.xml	2010-05-23 09:16:50 UTC (rev 299638)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299479 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="function.ziparchive-deletename" xmlns="http://docbook.org/ns/docbook">
@@ -41,13 +41,14 @@
  <refsect1 role="examples">
   &reftitle.examples;
     <example>
-     <title>پاک کردن فایل از آرشیو با استفاده از نام</title>
+     <title>پاک کردن فایل و دایرکتوری از آرشیو با استفاده از نام</title>
      <programlisting role="php">
 <![CDATA[
 <?php
 $zip = new ZipArchive;
 if ($zip->open('test1.zip') === TRUE) {
     $zip->deleteName('testfromfile.php');
+    $zip->deleteName('testDir/');
     $zip->close();
     echo 'ok';
 } else {
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.