ViewOptions
extends Element
in package
Uses
ElementTrait
This is the 'ViewOptions' class, a DTO class for the theme configuration data.
The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.
Tags
Table of Contents
PER_PAGE | = \FWK\Enums\Parameters::PER_PAGE | |
---|---|---|
SORT | = \FWK\Enums\Parameters::SORT | |
TEMPLATE | = \FWK\Enums\Parameters::TEMPLATE | |
getPerPage() | This method returns an array with the available perPage values. | : ViewOptionPerPage|null |
getSort() | This method returns an array with the available sort values. | : ViewOptionSort|null |
getTemplate() | This method returns an array with the available templates. | : ViewOptionTemplate|null |
Constants
PER_PAGE
public
mixed
PER_PAGE
= \FWK\Enums\Parameters::PER_PAGE
SORT
public
mixed
SORT
= \FWK\Enums\Parameters::SORT
TEMPLATE
public
mixed
TEMPLATE
= \FWK\Enums\Parameters::TEMPLATE
Methods
getPerPage()
This method returns an array with the available perPage values.
public
getPerPage() : ViewOptionPerPage|null
Return values
ViewOptionPerPage|null —getSort()
This method returns an array with the available sort values.
public
getSort() : ViewOptionSort|null
Return values
ViewOptionSort|null —getTemplate()
This method returns an array with the available templates.
public
getTemplate() : ViewOptionTemplate|null