Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($count, $page=1, $offset=null) | |
getCount () | |
getOffset () | |
getPage () | |
isValid () | |
setCount ($count) | |
setOffset ($offset) | |
setPage ($page) | |
Data Fields | |
$count | |
$offset | |
$page | |
Container class for range information when retrieving a result set.
Definition at line 17 of file DBResultRange.inc.php.
DBResultRange::__construct | ( | $count, | |
$page = 1 , |
|||
$offset = null |
|||
) |
Constructor. Initialize the DBResultRange.
Definition at line 31 of file DBResultRange.inc.php.
DBResultRange::getCount | ( | ) |
Returns the count of items in this range to display.
Definition at line 66 of file DBResultRange.inc.php.
References $count.
DBResultRange::getOffset | ( | ) |
Returns the offset of items in this range to display.
Definition at line 82 of file DBResultRange.inc.php.
References $offset.
DBResultRange::getPage | ( | ) |
Returns the count of pages to skip.
Definition at line 50 of file DBResultRange.inc.php.
References $page.
DBResultRange::isValid | ( | ) |
Checks to see if the DBResultRange is valid.
Definition at line 41 of file DBResultRange.inc.php.
DBResultRange::setCount | ( | $count | ) |
Set the count of items in this range to display.
$count | int |
Definition at line 74 of file DBResultRange.inc.php.
References $count.
DBResultRange::setOffset | ( | $offset | ) |
Set the offset of items in this range to display.
$offset | int |
Definition at line 90 of file DBResultRange.inc.php.
References $offset.
DBResultRange::setPage | ( | $page | ) |
Set the count of pages to skip.
$page | int |
Definition at line 58 of file DBResultRange.inc.php.
References $page.
DBResultRange::$count |
The number of items to display
Definition at line 19 of file DBResultRange.inc.php.
Referenced by __construct(), getCount(), and setCount().
DBResultRange::$offset |
Optional offset if pagination is not used.
Definition at line 25 of file DBResultRange.inc.php.
Referenced by __construct(), getOffset(), and setOffset().
DBResultRange::$page |
The number of pages to skip
Definition at line 22 of file DBResultRange.inc.php.
Referenced by __construct(), getPage(), and setPage().