svn: /phpdoc/ru/trunk/reference/sqlite/functions/ sqlite-current.xml

From: Date: Fri, 18 Mar 2011 10:19:55 +0000
Subject: svn: /phpdoc/ru/trunk/reference/sqlite/functions/ sqlite-current.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-1597@lists.php.net to get a copy of this message
shein Fri, 18 Mar 2011 10:19:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309374 Log: Updated translation. Changed paths: U phpdoc/ru/trunk/reference/sqlite/functions/sqlite-current.xml Modified: phpdoc/ru/trunk/reference/sqlite/functions/sqlite-current.xml =================================================================== --- phpdoc/ru/trunk/reference/sqlite/functions/sqlite-current.xml 2011-03-18 10:12:37 UTC (rev 309373) +++ phpdoc/ru/trunk/reference/sqlite/functions/sqlite-current.xml 2011-03-18 10:19:55 UTC (rev 309374) @@ -1,44 +1,99 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: n/a Maintainer: blindman Status: ready --> +<!-- EN-Revision: 297028 Maintainer: shein Status: ready --> +<!-- Reviewed: no --> <!-- $Revision$ --> <refentry xml:id="function.sqlite-current" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>sqlite_current</refname> - <refpurpose> - Возвращает текущую запись результата запроса в массиве - </refpurpose> + <refname>SQLiteResult->current</refname> + <refname>SQLiteUnbuffered->current</refname> + <refpurpose>Возвращает текущую запись из результирующего набора в виде массива</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>sqlite_current</methodname> <methodparam><type>resource</type><parameter>result</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>decode_binary</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam> </methodsynopsis> + <para>Объектно-ориентированный стиль (метод):</para> + <classsynopsis> + <ooclass><classname>SQLiteResult</classname></ooclass> + <methodsynopsis> + <type>array</type><methodname>current</methodname> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam> + </methodsynopsis> + </classsynopsis> + <classsynopsis> + <ooclass><classname>SQLiteUnbuffered</classname></ooclass> + <methodsynopsis> + <type>array</type><methodname>current</methodname> + <methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer>SQLITE_BOTH</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>decode_binary</parameter><initializer>true</initializer></methodparam> + </methodsynopsis> + </classsynopsis> <para> <function>sqlite_current</function> аналогична - <function>sqlite_fetch_array</function> за исключеним того, что - <function>sqlite_current</function> не переходит к следующей записи после - выборки данных. + <function>sqlite_fetch_array</function> за исключением того, что + она не переходит к следующей записи до выборки данных, а просто + возвращает данные из текущий позиции. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> + <variablelist> + <varlistentry> + <term><parameter>result</parameter></term> + <listitem> + <para> + Ресурс результата SQLite. Этот параметр не требуется при + использовании объектно-ориентированного метода. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>result_type</parameter></term> + <listitem> + &sqlite.result-type; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>decode_binary</parameter></term> + <listitem> + &sqlite.decode-bin; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает текущую запись из результирующего набора в виде массива. Если текущая позиция в результате запроса находится за последней записью, эта функция возвращает &false;. </para> + &sqlite.case-fold; + </refsect1> - &sqlite.no-unbuffered; - - </refsect1> - <refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> - <function>sqlite_seek</function>, - <function>sqlite_next</function> и - <function>sqlite_fetch_array</function>. + <simplelist> + <member><function>sqlite_seek</function></member> + <member><function>sqlite_next</function></member> + <member><function>sqlite_fetch_array</function></member> + </simplelist> </para> </refsect1> </refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -49,7 +104,7 @@ sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil - sgml-default-dtd-file:"../../manual.ced" + sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil

« previous php.doc.ru (#1597) next »