cvs: phpdoc-fa /reference/apache/functions apache-note.xml
| From: | Pedram Salehpoor | Date: | Mon, 08 Dec 2008 20:41:22 +0000 |
| Subject: | cvs: phpdoc-fa /reference/apache/functions apache-note.xml | ||
| Groups: | php.doc.fa | ||
| Request: | Send a blank email to doc-fa+get-58@lists.php.net to get a copy of this message | ||
psalehpoor Mon Dec 8 20:41:22 2008 UTC
Added files:
/phpdoc-fa/reference/apache/functions apache-note.xml
Log:
translated tp persian
http://cvs.php.net/viewvc.cgi/phpdoc-fa/reference/apache/functions/apache-note.xml?view=markup&rev=1.1
Index: phpdoc-fa/reference/apache/functions/apache-note.xml
+++ phpdoc-fa/reference/apache/functions/apache-note.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.7 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="function.apache-note" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apache_note</refname>
<refpurpose>ÛØ§Ø¯Ø¯Ø§Ø´ØªâÙØ§Û Ø¯Ø±Ø®ÙØ§Ø³Øª
آپاÚÛ Ø±Ø§ Ø¨Ú¯ÛØ± ٠تغÛÛØ±
بدÙ</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>apache_note</methodname>
<methodparam><type>string</type><parameter>note_name</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>note_value</parameter></methodparam>
</methodsynopsis>
<para>
اÛ٠تابع ÛÚ© Ù¾ÙØ´Ø´ براÛ
<literal>table_get</literal> Ù
<literal>table_set</literal> در آپاÚÛ Ø§Ø³Øª.
جدÙÙ ÛØ§Ø¯Ø¯Ø§Ø´ØªâÙØ§ را در Ø·ÙÙ ÛÚ©
Ø¯Ø±Ø®ÙØ§Ø³Øª ÙÛØ±Ø§ÛØ´ Ù
ÛâÚ©ÙØ¯.
ÙØ¯Ù جدÙÙ Ø¨Ø±ÙØ±Ø§Ø±Û اÙ
کاÙ
ارتباط بÛÙ Ù
اجÙÙâÙØ§Ø³Øª.
</para>
<para>
Ø§Ø³ØªÙØ§Ø¯Ù اصÙÛ <function>apache_note</function>
جابجاÛÛ Ø§Ø·ÙØ§Ø¹Ø§Øª از ÛÚ© Ù
اجÙÙ
ب٠دÛÚ¯Ø±Û Ø¯Ø± ÛÚ© Ø¯Ø±Ø®ÙØ§Ø³Øª است.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>note_name</parameter></term>
<listitem>
<para>
ÙØ§Ù
ÛØ§Ø¯Ø¯Ø§Ø´Øª.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>note_value</parameter></term>
<listitem>
<para>
Ù
ÙØ¯Ø§Ø± ÛØ§Ø¯Ø¯Ø§Ø´Øª
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
اگر ب٠ÙÙ
را٠ÛÚ© آرگÙÙ
اÙ
ÙØ±Ø§Ø®ÙاÙÛ Ø´ÙØ¯ Ù
ÙØ¯Ø§Ø± ÙØ¹Ø§ÙÛ
ÛØ§Ø¯Ø¯Ø§Ø´Øª
<literal>note_name</literal> را
بازÙ
ÛâÚ¯Ø±Ø¯Ø§ÙØ¯. اگر ب٠ÙÙ
راÙ
د٠آرگÙÙ
Ø§Ù ÙØ±Ø§Ø®ÙاÙÛ Ø´ÙØ¯
sets the value of note <literal>note_name</literal> برابر با
Ù
ÙØ¯Ø§Ø±
<literal>note_value</literal> ÙØ±Ø§Ø± Ù
ÛâÚ¯ÛØ±Ø¯ Ù
Ù
ÙØ¯Ø§Ø± Ù¾ÛØ´ÛÙ ÛØ§Ø¯Ø¯Ø§Ø´Øª
<literal>note_name</literal> Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù
Ù
ÛâØ´ÙØ¯.
اگر ÛØ§Ø¯Ø¯Ø§Ø´Øª ØºÛØ±ÙابÙ
Ø¨Ø§Ø²ÛØ§Ø¨Û باشد Ù
ÙØ¯Ø§Ø± &false;
Ø¨Ø§Ø²Ú¯Ø±Ø¯Ø§ÙØ¯Ù Ù
ÛâØ´ÙØ¯.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>جابجاÛÛ Ø§Ø·ÙØ§Ø¹Ø§Øª بÛÙ PHP Ù
PERL</title>
<programlisting role="php">
<![CDATA[
<?php
apache_note('name', 'Fredrik Ekengren');
// Call perl script
virtual("/perl/some_script.pl");
$result = apache_note("resultdata");
?>
]]>
</programlisting>
<programlisting role="perl">
<![CDATA[
# Get Apache request object
my $r = Apache->request()->main();
# Get passed data
my $name = $r->notes('name');
# some processing
# Pass result back to PHP
$r->notes('resultdata', $result);
]]>
</programlisting>
</example>
</para>
<para>
<example>
<title>Ø°Ø®ÛØ±Ù Ù
ÙØ§Ø¯Ûر access.log</title>
<programlisting role="php">
<![CDATA[
<?php
apache_note('sessionID', session_id());
?>
]]>
</programlisting>
<programlisting role="apache">
<![CDATA[
# "%{sessionID}n" can be used in the LogFormat directive
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>virtual</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:"../../../../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
-->