cvs: phpdoc /en/reference/mysqli/mysqli_result fetch-all.xml

From: Date: Wed, 05 Nov 2008 10:17:12 +0000
Subject: cvs: phpdoc /en/reference/mysqli/mysqli_result fetch-all.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2398@lists.php.net to get a copy of this message
vrana Wed Nov 5 10:17:12 2008 UTC Added files: /phpdoc/en/reference/mysqli/mysqli_result fetch-all.xml Log: Document mysqli_fetch_all (bug #45795) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/mysqli_result/fetch-all.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/mysqli/mysqli_result/fetch-all.xml +++ phpdoc/en/reference/mysqli/mysqli_result/fetch-all.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="mysqli-result.fetch-array" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mysqli_result::fetch_all</refname> <refname>mysqli_fetch_all</refname> <refpurpose>Fetches all result rows as an associative array, a numeric array, or both</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para>Object oriented style (method):</para> <methodsynopsis> <type>mixed</type><methodname>mysqli_result::fetch_all</methodname> <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> </methodsynopsis> <para>Procedural style:</para> <methodsynopsis> <type>mixed</type><methodname>mysqli_fetch_all</methodname> <methodparam><type>mysqli_result</type><parameter>result</parameter></methodparam> <methodparam choice='opt'><type>int</type><parameter>resulttype</parameter></methodparam> </methodsynopsis> <para> Available only with <literal>mysqlnd</literal>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> &mysqli.result.description; <varlistentry> <term><parameter>resulttype</parameter></term> <listitem> <para> This optional parameter is a constant indicating what type of array should be produced from the current row data. The possible values for this parameter are the constants <constant>MYSQLI_ASSOC</constant>, <constant>MYSQLI_NUM</constant>, or <constant>MYSQLI_BOTH</constant>. Defaults to <constant>MYSQLI_NUM</constant>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns an array of associative or numeric arrays holding result rows. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>mysqli_fetch_array</function></member> <member><function>mysqli_query</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 -->

« previous php.doc.cvs (#2398) next »