php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login


New in This Group

cvs: phpdoc-fa /language basic-syntax.xml
6/24/2008 5:26:52 PM

cvs: phpdoc-fa /language references.xml
6/20/2008 7:05:38 PM

cvs: phpdoc-fa /language types.xml
6/20/2008 6:34:37 PM

cvs: phpdoc-fa /security variables.xml
6/20/2008 6:26:39 PM

cvs: phpdoc-fa /security magicquotes.xml
6/20/2008 6:26:29 PM

cvs: phpdoc-fa /security intro.xml
6/20/2008 6:26:20 PM

cvs: phpdoc-fa /security hiding.xml
6/20/2008 6:26:11 PM

cvs: phpdoc-fa /security globals.xml
6/20/2008 6:26:02 PM

cvs: phpdoc-fa /security general.xml
6/20/2008 6:25:53 PM

cvs: phpdoc-fa /security filesystem.xml
6/20/2008 6:25:44 PM

cvs: phpdoc-fa /reference/array/functions next.xml Reply

Group: php.doc.fa Subscribe Posted:6/9/2009 6:16:28 PM Replies:0 Views:16 Items(0)
psalehpoor Tue Jun 9 18:16:28 2009 UTC

Added files:
/phpdoc-fa/reference/array/functions next.xml
Log:
translation to persian


http://cvs.php.net/viewvc.cgi/phpdoc-fa/reference/array/functions/next.xml?view=markup&rev=1.1
Index: phpdoc-fa/reference/array/functions/next.xml
+++ phpdoc-fa/reference/array/functions/next.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.13 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<refentry xml:id="function.next" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>next</refname>
<refpurpose>به پیش بردن اشاره‌گر داخلی آرایه</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>next</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
</methodsynopsis>
<para>
<function>next</function> همانند
<function>current</function>، با یک تفاوت عمل می‌کند. اشاره‌گر داخلی آرایه را یک محل به جلو پیش می‌برد و مقدار پیشین را باز می‌گرداند.
این به معنای بازگرداندن مقدار بعدی اشاره‌گر داخلی و به پیش بردن آن است.
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>array</parameter></term>
<listitem>
<para>
<type>array</type> تحت تاثیر قرار گرفته است.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
مقدار آرایه در محل بعدی را که توسط اشاره‌گر داخلی به آن اشاره شده است بازمی‌گرداند، یا &false; اگر عضو دیگری وجود نداشته باشد.
</para>
&return.falseproblem;
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>مثال استفاده از <function>next</function></title>
<programlisting role="php">
<![CDATA[
<?php
$transport = array('foot', 'bike', 'car', 'plane');
$mode = current($transport); // $mode = 'foot';
$mode = next($transport); // $mode = 'bike';
$mode = next($transport); // $mode = 'car';
$mode = prev($transport); // $mode = 'bike';
$mode = end($transport); // $mode = 'plane';
?>
]]>
</programlisting>
</example>
</para>
</refsect1>

<refsect1 role="notes">
&reftitle.notes;
<note>
<simpara>
شما نمی‌توانید بین انتهای آرایه و عضو
<type>boolean</type> &false; تفاوت قايل شوید. برای پیمایش آرایه دارای اعضای &false;، تابع <function>each</function> را ببینید.
</simpara>
</note>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>current</function></member>
<member><function>end</function></member>
<member><function>prev</function></member>
<member><function>reset</function></member>
<member><function>each</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
-->


psalehp...@php.net ("Pedram Salehpoor")
6/9/2009 6:16:28 PM





Reply:
| or Email(not shown): Name: | Register | Login

Alert me when someone responds to this posting.











Newest Articles

note 97095 added to soapclient.soapclient
4/1/2010 5:58:19 AM

note 97094 added to function.sqlite-changes
4/1/2010 5:06:46 AM

note 97093 added to function.sqlite-changes
4/1/2010 5:06:21 AM

note 97092 added to ref.xmlrpc
4/1/2010 4:52:18 AM

note 97091 added to function.var-export
4/1/2010 3:32:03 AM