cvs: phpdoc-fa /reference/apc/functions apc-load-constants.xml
| From: | Pedram Salehpoor | Date: | Tue, 19 May 2009 17:23:17 +0000 |
| Subject: | cvs: phpdoc-fa /reference/apc/functions apc-load-constants.xml | ||
| Groups: | php.doc.fa | ||
| Request: | Send a blank email to doc-fa+get-93@lists.php.net to get a copy of this message | ||
psalehpoor Tue May 19 17:23:17 2009 UTC
Added files:
/phpdoc-fa/reference/apc/functions apc-load-constants.xml
Log:
translated to persian
http://cvs.php.net/viewvc.cgi/phpdoc-fa/reference/apc/functions/apc-load-constants.xml?view=markup&rev=1.1
Index: phpdoc-fa/reference/apc/functions/apc-load-constants.xml
+++ phpdoc-fa/reference/apc/functions/apc-load-constants.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.5 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="function.apc-load-constants" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apc_load_constants</refname>
<refpurpose>
Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ÛÚ© Ù
جÙ
ÙØ¹Ù ثابت از
کاشÙ.
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>apc_load_constants</methodname>
<methodparam><type>string</type><parameter>key</parameter></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>case_sensitive</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ÛÚ© Ù
جÙ
ÙØ¹Ù ثابت از
کاشÙ.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>key</parameter></term>
<listitem>
<para>
ÙØ§Ù
Ù
جÙ
ÙØ¹Ù ثابت Ú©Ù Ø¨Ø§ÛØ¯
Ø¨Ø§Ø²ÛØ§Ø¨Û Ø´ÙØ¯ (ب٠ÙÙ
راÙ
<function>apc_define_constants</function> Ø°Ø®ÛØ±Ù شدÙ
است).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>case_sensitive</parameter></term>
<listitem>
<para>
Ø±ÙØªØ§Ø± Ù¾ÛØ´Ùرض ثابتâÙØ§ بÙ
ØµÙØ±Øª ØØ³Ø§Ø³ Ø¨Ù Ø¨Ø²Ø±Ú¯Û Ù Ú©ÙÚÚ©Û
Ø¨Ø§ÛØ¯ تعÛÛÙ Ø´ÙØ¯Ø ب٠عÙÙØ§Ù
Ù
ثاÙ
<literal>CONSTANT</literal> Ù <literal>Constant</literal>
ÙØ´Ø§ÙâØ¯ÙÙØ¯Ù د٠Ù
ÙØ¯Ø§Ø± Ù
ØªÙØ§Ùت
ÙØ³ØªÙد.
اگر اÛ٠پاراÙ
تر برابر با
&false; Ø§Ø±Ø²ÛØ§Ø¨Û گردد ثابتâÙØ§ بÙ
ØµÙØ±Øª ÙØ´Ø§ÙâÙØ§Û ØºÛØ±ØØ³Ø§Ø³ بÙ
Ø¨Ø²Ø±Ú¯Û Ù Ú©ÙÚÚ©Û Ø§Ø¹ÙØ§Ù
Ø®ÙØ§ÙÙØ¯
شد.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Ù
ثا٠<function>apc_load_constants</function></title>
<programlisting role="php">
<![CDATA[
<?php
$constants = array(
'ONE' => 1,
'TWO' => 2,
'THREE' => 3,
);
apc_define_constants('numbers', $constants);
apc_load_constants('numbers');
echo ONE, TWO, THREE;
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
123
]]>
</screen>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>apc_define_constants</function></member>
<member><function>define</function></member>
<member><function>constant</function></member>
<member>
Or <link linkend="language.constants">Ù
رجع Ø«ÙØ§Ø¨Øª
PHP</link>
</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:"../../../../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
-->