JDatabaseSQLSrv::fetchArray: Difference between revisions
From Joomla! Documentation
Updated to r1448:247ba8d88526 |
m preparing for archive only |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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. | ||
<source lang="php"> | <source lang="php"> | ||
protected function fetchArray ($cursor=null) | protected function fetchArray ($cursor=null) | ||
| Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseSQLSrv::fetchArray source code''' on [[jplatform:database/database/sqlsrv.php#cl-601|BitBucket]] | * {{JVer|11.1}} '''JDatabaseSQLSrv::fetchArray source code''' on [[jplatform:database/database/sqlsrv.php#cl-601|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseSQLSrv | * {{JVer|11.1}} Class [[API17:JDatabaseSQLSrv|JDatabaseSQLSrv]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseSQLSrv::fetchArray|Other versions of JDatabaseSQLSrv::fetchArray]] | * [[API17:JDatabaseSQLSrv::fetchArray|Other versions of JDatabaseSQLSrv::fetchArray]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseSQLSrv::fetchArray | category=JDatabaseSQLSrv::fetchArray | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:49, 25 March 2017
JDatabaseSQLSrv::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 609 of libraries/joomla/database/database/sqlsrv.php
- Since

See also
JDatabaseSQLSrv::fetchArray source code on BitBucket
Class JDatabaseSQLSrv
Subpackage Database- Other versions of JDatabaseSQLSrv::fetchArray
User contributed notes
Code Examples