svn: /phpdoc/fa/trunk/ language/types/string.xml reference/errorfunc/functions/user-error.xml reference/solr/solrclient/adddocuments.xml reference/solr/solrclient/construct.xml reference/solr/solrclient/request.xml reference/solr/solrclient/rollback.xml reference/spl/arrayobject/natcasesort.xml

[email protected] (Pedram Salehpoor)
Newsgroups php.doc.fa
Message-ID <[email protected]>
psalehpoor                               Wed, 21 Apr 2010 17:02:33 +0000

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

Log:
translated

Changed paths:
    U   phpdoc/fa/trunk/language/types/string.xml
    A   phpdoc/fa/trunk/reference/errorfunc/functions/user-error.xml
    A   phpdoc/fa/trunk/reference/solr/solrclient/adddocuments.xml
    A   phpdoc/fa/trunk/reference/solr/solrclient/construct.xml
    A   phpdoc/fa/trunk/reference/solr/solrclient/request.xml
    A   phpdoc/fa/trunk/reference/solr/solrclient/rollback.xml
    U   phpdoc/fa/trunk/reference/spl/arrayobject/natcasesort.xml
svn-diffs-298262.txt (text/x-diff, 18 KB)
Modified: phpdoc/fa/trunk/language/types/string.xml
===================================================================
--- phpdoc/fa/trunk/language/types/string.xml	2010-04-21 17:02:20 UTC (rev 298261)
+++ phpdoc/fa/trunk/language/types/string.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 <!-- Reviewed: yes -->
-<!-- EN-Revision: 297557 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 298247 Maintainer: pedram Status: ready -->

 <sect1 xml:id="language.types.string">
  <title>Strings</title>
@@ -71,7 +71,7 @@

    <note>
     <simpara>
-     Unlike the two other syntaxes,
+     Unlike the three other syntaxes,
      <link linkend="language.variables">variables</link> and escape sequences
      for special characters will <emphasis>not</emphasis> be expanded when they
      occur in single quoted <type>string</type>s.

Added: phpdoc/fa/trunk/reference/errorfunc/functions/user-error.xml
===================================================================
--- phpdoc/fa/trunk/reference/errorfunc/functions/user-error.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/errorfunc/functions/user-error.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+<refentry xml:id="function.user-error" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>user_error</refname>
+  <refpurpose>جایگزین <function>trigger_error</function></refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <para>
+   &info.function.alias; <function>trigger_error</function>.
+  </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/errorfunc/functions/user-error.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/solr/solrclient/adddocuments.xml
===================================================================
--- phpdoc/fa/trunk/reference/solr/solrclient/adddocuments.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/solr/solrclient/adddocuments.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 294374 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="solrclient.adddocuments" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>SolrClient::addDocuments</refname>
+  <refpurpose>اضافه کردن مجموعه نمونه‌های SolrInputDocument به اندیس</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>void</type><methodname>SolrClient::addDocuments</methodname>
+   <methodparam><type>array</type><parameter>docs</parameter></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>allowDups</parameter><initializer>false</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>commitWithin</parameter><initializer>0</initializer></methodparam>
+  </methodsynopsis>
+  <para>
+   اضافه کردن مجموعه اسناد به اندیس.
+  </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>docs</parameter></term>
+     <listitem>
+      <para>
+       آرایه شامل مجموعه نمونه‌های SolrInputDocument. این آرایه باید آرایه واقعی باشد.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>allowDups</parameter></term>
+     <listitem>
+      <para>
+       اگر &false; باشد کپی‌ها بازنویسی می‌شوند.
+      </para>
+     </listitem>
+    </varlistentry>
+    <varlistentry>
+     <term><parameter>commitWithin</parameter></term>
+     <listitem>
+      <para>
+       تعداد میلی‌ثانی‌های برای اضافه کردن اسناد به اندیس. تنها از زمان Solr 1.4 در دسترس است
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+  بازگرداندن شی SolrUpdateResponse در صورت موفقیت و ایجاد SolrClientException در صورت خطا.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>مثال <methodname>SolrClient::addDocuments</methodname></title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+
+$options = array
+(
+    'hostname' => SOLR_SERVER_HOSTNAME,
+    'login'    => SOLR_SERVER_USERNAME,
+    'password' => SOLR_SERVER_PASSWORD,
+    'port'     => SOLR_SERVER_PORT,
+);
+
+$client = new SolrClient($options);
+
+$doc = new SolrInputDocument();
+
+$doc->addField('id', 334455);
+$doc->addField('cat', 'Software');
+$doc->addField('cat', 'Lucene');
+
+$doc2 = clone $doc;
+
+$doc2->deleteField('id');
+$doc2->addField('id', 334456);
+
+$docs = array($doc, $doc2);
+
+$updateResponse = $client->addDocuments($docs);
+
+print_r($updateResponse->getResponse());
+
+?>
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+SolrObject Object
+(
+    [responseHeader] => SolrObject Object
+        (
+            [status] => 0
+            [QTime] => 2
+        )
+
+)
+
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>SolrClient::addDocument</methodname></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/solr/solrclient/adddocuments.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/solr/solrclient/construct.xml
===================================================================
--- phpdoc/fa/trunk/reference/solr/solrclient/construct.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/solr/solrclient/construct.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 294374 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="solrclient.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>SolrClient::__construct</refname>
+  <refpurpose>سازنده شی SolrClient</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier><methodname>SolrClient::__construct</methodname>
+   <methodparam><type>array</type><parameter>clientOptions</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   سازنده شی SolrClient
+  </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>clientOptions</parameter></term>
+     <listitem>
+      <para>
+       آرایه شامل یکی از کلیدهای زیر:
+      </para>
+      <para>
+
+<![CDATA[
+
+ - secure          (Boolean value indicating whether or not to connect in secure mode)
+ - hostname        (The hostname for the Solr server)
+ - port            (The port number)
+ - path            (The path to solr)
+ - login           (The username used for HTTP Authentication, if any)
+ - password        (The HTTP Authentication password)
+ - proxy_host      (The hostname for the proxy server, if any)
+ - proxy_port      (The proxy port)
+ - proxy_login     (The proxy username)
+ - proxy_password  (The proxy password)
+ - timeout         (This is maximum time in seconds allowed for the http data transfer operation. Default is 30 seconds)
+ - ssl_cert        (File name to a PEM-formatted file containing the private key + private certificate (concatenated in that order) )
+ - ssl_key         (File name to a PEM-formatted private key file only)
+ - ssl_keypassword (Password for private key)
+ - ssl_cainfo      (Name of file holding one or more CA certificates to verify peer with)
+ - ssl_capath      (Name of directory holding multiple CA certificates to verify peer with )
+
+ Please note the if the ssl_cert file only contains the private certificate, you have to specify a separate ssl_key file
+
+ The ssl_keypassword option is required if the ssl_cert or ssl_key options are set.
+
+]]>
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>مثال <methodname>SolrClient::__construct</methodname></title>
+    <programlisting role="php">
+<![CDATA[
+
+<?php
+
+$options = array
+(
+    'hostname' => SOLR_SERVER_HOSTNAME,
+    'login'    => SOLR_SERVER_USERNAME,
+    'password' => SOLR_SERVER_PASSWORD,
+    'port'     => SOLR_SERVER_PORT,
+);
+
+$client = new SolrClient($options);
+
+$doc = new SolrInputDocument();
+
+$doc->addField('id', 334455);
+$doc->addField('cat', 'Software');
+$doc->addField('cat', 'Lucene');
+
+$updateResponse = $client->addDocument($doc);
+
+?>
+
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>SolrClient::getOptions</methodname></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/solr/solrclient/construct.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/solr/solrclient/request.xml
===================================================================
--- phpdoc/fa/trunk/reference/solr/solrclient/request.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/solr/solrclient/request.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 294374 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="solrclient.request" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>SolrClient::request</refname>
+  <refpurpose>ارسال درخواست بروزرسانی خام</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>void</type><methodname>SolrClient::request</methodname>
+   <methodparam><type>string</type><parameter>raw_request</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   ارسال درخواست بروزرسانی خام XML به سرور
+  </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>raw_request</parameter></term>
+     <listitem>
+      <para>
+       رشته XML به همراه درخواست خام به سرور.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   بازگرداندن SolrUpdateResponse در صورت موفقیت. ایجاد SolrClientException در صورت خطا.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title>مثال <methodname>SolrClient::request</methodname></title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$options = array
+(
+    'hostname' => SOLR_SERVER_HOSTNAME,
+    'login'    => SOLR_SERVER_USERNAME,
+    'password' => SOLR_SERVER_PASSWORD,
+    'port'     => SOLR_SERVER_PORT,
+);
+
+$client = new SolrClient($options);
+
+$update_response = $client->request("<commit/>");
+
+$response = $update_response->getResponse();
+
+print_r($response);
+?>
+]]>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
+<![CDATA[
+...
+]]>
+    </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:"~/.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/solr/solrclient/request.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Added: phpdoc/fa/trunk/reference/solr/solrclient/rollback.xml
===================================================================
--- phpdoc/fa/trunk/reference/solr/solrclient/rollback.xml	                        (rev 0)
+++ phpdoc/fa/trunk/reference/solr/solrclient/rollback.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 294374 Maintainer: pedram Status: ready -->
+<!-- Reviewed: yes -->
+<!-- $Revision$ -->
+
+<refentry xml:id="solrclient.rollback" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>SolrClient::rollback</refname>
+  <refpurpose>باز گرداندن تمام حذف/اضافه اندیس از آخرین کار. هیج گوش‌دهنده رویداد یا جستجوگر جدید نمی‌سازد</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>SolrUpdateResponse</type><methodname>SolrClient::rollback</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   باز گرداندن تمام حذف/اضافه اندیس از آخرین کار. هیج گوش‌دهنده رویداد یا جستجوگر جدید نمی‌سازد.
+  </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   بازگرداندن SolrUpdateResponse در صورت موفقیت یا ایجاد SolrClientException در صورت خطا.
+  </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><methodname>SolrClient::commit</methodname></member>
+    <member><methodname>SolrClient::optimize</methodname></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/solr/solrclient/rollback.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native

Modified: phpdoc/fa/trunk/reference/spl/arrayobject/natcasesort.xml
===================================================================
--- phpdoc/fa/trunk/reference/spl/arrayobject/natcasesort.xml	2010-04-21 17:02:20 UTC (rev 298261)
+++ phpdoc/fa/trunk/reference/spl/arrayobject/natcasesort.xml	2010-04-21 17:02:33 UTC (rev 298262)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297078 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
 <!-- Reviewed: yes -->
 <!-- $Revision$ -->
 <refentry xml:id="arrayobject.natcasesort" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
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.