API15:JDatabase/SelectLimit
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
ADODB compatability function
Description:JDatabase/SelectLimit
Syntax
SelectLimit($query, $count, $offset=0)
| Parameter Name | Default Value | Description |
|---|---|---|
| $query | ||
| $count | ||
| $offset | 0 |
Defined in
libraries/joomla/database/database.php
Importing
jimport( 'joomla.database.database' );
Source Body
function SelectLimit( $query, $count, $offset=0 ) { jimport( 'joomla.database.recordset' ); $this->setQuery( $query, $offset, $count ); $result = $this->loadRowList(); return new JRecordSet( $result ); }
[Edit See Also] SeeAlso:JDatabase/SelectLimit
Examples
<CodeExamplesForm />
