JDatabaseSQLAzure::fetchObject: 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 object. | Method to fetch a row from the result set cursor as an object. | ||
<source lang="php"> | <source lang="php"> | ||
protected function fetchObject ( | protected function fetchObject ( | ||
| Line 37: | Line 35: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseSQLAzure::fetchObject source code''' on [[jplatform:database/database/sqlazure.php#cl-630|BitBucket]] | * {{JVer|11.1}} '''JDatabaseSQLAzure::fetchObject source code''' on [[jplatform:database/database/sqlazure.php#cl-630|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseSQLAzure | * {{JVer|11.1}} Class [[API17:JDatabaseSQLAzure|JDatabaseSQLAzure]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseSQLAzure::fetchObject|Other versions of JDatabaseSQLAzure::fetchObject]] | * [[API17:JDatabaseSQLAzure::fetchObject|Other versions of JDatabaseSQLAzure::fetchObject]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseSQLAzure::fetchObject | category=JDatabaseSQLAzure::fetchObject | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 55: | Line 51: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:48, 25 March 2017
JDatabaseSQLAzure::fetchObject
Description
Method to fetch a row from the result set cursor as an object.
protected function fetchObject (
$cursor=null
$class= 'stdClass'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $cursor | mixed | null | The optional result set cursor from which to fetch the row. |
| $class | string | 'stdClass' | The class name to use for the returned row object. |
- Returns mixed Either the next row from the result set or false if there are no more rows.
- Defined on line 638 of libraries/joomla/database/database/sqlazure.php
- Since

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