API17

JDatabase::fetchArray: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to fetch a row from the result set cursor as an array.  
Method to fetch a row from the result set cursor as an array.  


{{subst:Description:JDatabase::fetchArray}}
 


<source lang="php">
<source lang="php">
Line 30: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabase::fetchArray|Other versions of JDatabase::fetchArray]]
* [[API17:JDatabase::fetchArray|Other versions of JDatabase::fetchArray]]
{{subst:SeeAlso:JDatabase::fetchArray}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabase::fetchArray
category=JDatabase::fetchArray
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:33, 25 March 2017

Joomla 11.1 JDatabase::fetchArray

Description

Method to fetch a row from the result set cursor as an array.


protected function fetchArray ($cursor=null)
Parameter Type Default Description
$cursor mixed null The optional result set cursor from which to fetch the row.
  • Returns mixed Either the next row from the result set or false if there are no more rows.
  • Defined on line 1310 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples