API15

JRecordSet/FetchRow

From Joomla! Documentation

< API15:JRecordSet
Revision as of 17:16, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== mixed A row from the data array or null <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<now...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API15" 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.

Description[edit]

mixed A row from the data array or null


[Edit Descripton]

Template:Description:JRecordSet/FetchRow

Syntax[edit]

FetchRow()


Returns[edit]

mixed A row from the data array or null

Defined in[edit]

libraries/joomla/database/recordset.php

Importing[edit]

jimport( 'joomla.database.recordset' );

Source Body[edit]

function FetchRow()
{
        if ($this->pointer < $this->count) {
                $result = $this->data[$this->pointer];
                $this->pointer++;
                return $result;
        } else {
                return null;
        }
}

[Edit See Also] Template:SeeAlso:JRecordSet/FetchRow

Examples[edit]

<CodeExamplesForm />