Difference between revisions of "JDatabase::getNumRows"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (JoomlaWikiBot moved page JDatabase::getNumRows/11.1 to API17:JDatabase::getNumRows without leaving a redirect: Robot: Moved page) |
(No difference)
|
Revision as of 15:38, 10 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDatabase::getNumRows[edit]
Description[edit]
Get the number of returned rows for the previous executed SQL statement.
Template:Description:JDatabase::getNumRows [Edit Descripton]
public function getNumRows ($cursor=null)
Parameter | Type | Default | Description |
---|---|---|---|
$cursor | resource | null | An optional database cursor resource to extract the row count from. |
- Returns integer The number of returned rows.
- Defined on line 1164 of libraries/joomla/database/database.php
- Since
See also[edit]
- JDatabase::getNumRows source code on BitBucket
- Class JDatabase
- Subpackage Database
- Other versions of JDatabase::getNumRows
Template:SeeAlso:JDatabase::getNumRows [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />