Default implementation of a limit panel element.
getAmount()
getOffset()
initialize(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig, \ContaoCommunityAlliance\DcGeneral\Panel\PanelElementInterface $objElement)
render(\ContaoCommunityAlliance\DcGeneral\View\ViewTemplateInterface $objTemplate)
SuppressWarnings | (PHPMD.Superglobals) |
---|---|
SuppressWarnings | (PHPMD.CamelCaseVariableName) |
setAmount($intAmount)
setOffset($intOffset)
calculateTotal() : void
getItemsPerPage() : int
SuppressWarnings | (PHPMD.Superglobals) |
---|---|
SuppressWarnings | (PHPMD.CamelCaseVariableName) |
int
getPersistent() : array
array
setPersistent(int $intOffset, int $intAmount) : void
int
The offset.
int
The amount of items to show.
$intAmount : int
$intOffset : int
$intTotal : int