DBQueryLimited Class Reference
[Model]
A limited query. More...
Inheritance diagram for
DBQueryLimited:
Public Member Functions |
|
get_limit () | |
Returns limit. |
|
set_limit ($start_or_count, $count=null) | |
Set limit. |
|
Protected Attributes |
|
$limit = array(0, 0) |
Detailed Description
A limited query.
Definition at line 8 of file dbquery.limited.cls.php.
Member Function Documentation
DBQueryLimited::get_limit | ( | ) |
Returns limit.
- Returns:
- array Array with two members: 1. start_row, 2. number of rows
Definition at line 36 of file dbquery.limited.cls.php.
DBQueryLimited::set_limit | ( | $ | start_or_count, | |
$ | count = null |
|||
) |
Set limit.
- Parameters:
-
int $start_or_count start record (0-based) or count, if $count is 0 int $count Optional. Number of rows to retrieve
Definition at line 22 of file dbquery.limited.cls.php.
Member Data Documentation
DBQueryLimited::$limit = array(0, 0)
[protected] |
Definition at line 14 of file dbquery.limited.cls.php.
The documentation for this class was generated from the following file:
- gyro/core/model/base/queries/dbquery.limited.cls.php