Skip to content

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

Methods

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)

PartialResultsTrait::getLimit

Description

public getLimit (void)

Gets how many results to return

Parameters

This function has no parameters.

Return Values

int


PartialResultsTrait::getStart

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


PartialResultsTrait::setLimit

Description

public setLimit (int $limit)

Sets how many results to return

Parameters

  • (int) $limit : Limit for results

Return Values

self


PartialResultsTrait::setStart

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