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) |
intgetPersistent() : array
arraysetPersistent(int $intOffset, int $intAmount) : void
intThe offset.
intThe amount of items to show.
$intAmount : int
$intOffset : int
$intTotal : int