-
Notifications
You must be signed in to change notification settings - Fork 0
PartialResultsTrait
MekDrop edited this page Jul 25, 2022
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Database\Criteria\Traits\PartialResultsTrait
Defines trait to configure to return partial results
Name | Description |
---|---|
getLimit | Gets how many results to return |
getStart | Gets from what record number to return results (counting starts from 0) |
setLimit | Sets how many results to return |
setStart | Sets from what record number to return results (counting starts from 0) |
Description
public getLimit (void)
Gets how many results to return
Parameters
This function has no parameters.
Return Values
int
Description
public getStart (void)
Gets from what record number to return results (counting starts from 0)
Parameters
This function has no parameters.
Return Values
int
Description
public setLimit (int $limit)
Sets how many results to return
Parameters
-
(int) $limit
: Limit for results
Return Values
self
Description
public setStart (int $start)
Sets from what record number to return results (counting starts from 0)
Parameters
-
(int) $start
: Sets start position
Return Values
self