Skip to content

AbstractLimit

The Limit trait provides methods to handle query limits.

  • Full name: \Zemit\Mvc\Controller\Traits\Abstracts\Query\AbstractLimit

Methods

initializeLimit

public initializeLimit(): void
  • This method is abstract.

setLimit

public setLimit(?int $limit): void
  • This method is abstract.

Parameters:

Parameter Type Description
$limit ?int

getLimit

public getLimit(): ?int
  • This method is abstract.

setMaxLimit

public setMaxLimit(?int $maxLimit): void
  • This method is abstract.

Parameters:

Parameter Type Description
$maxLimit ?int

getMaxLimit

public getMaxLimit(): ?int
  • This method is abstract.

defaultLimit

public defaultLimit(): ?int
  • This method is abstract.

defaultMaxLimit

public defaultMaxLimit(): ?int
  • This method is abstract.