PHP Interface Sulu\Component\Rest\ListBuilder\ListRestHelperInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
getFields ( ) : array | null Returns an array with all the fields, which should be contained in the response.
getLimit ( ) : integer Returns the maximum number of elements in a single response.
getOffset ( ) : integer | null Returns the calculated value for the starting position based on the page and limit values.
getPage ( ) : mixed returns the current page.
getSearchFields ( ) : array | null Returns an array with all the fields the search pattern should be executed on.
getSearchPattern ( ) : mixed Returns the pattern of the search.
getSortColumn ( ) : string Returns the desired sort column.
getSortOrder ( ) : string Returns desired sort order.

Method Details

getFields() public méthode

If null is returned every field should be contained.
public getFields ( ) : array | null
Résultat array | null

getLimit() public méthode

Returns the maximum number of elements in a single response.
public getLimit ( ) : integer
Résultat integer

getOffset() public méthode

Returns the calculated value for the starting position based on the page and limit values.
public getOffset ( ) : integer | null
Résultat integer | null

getPage() public méthode

returns the current page.
public getPage ( ) : mixed
Résultat mixed

getSearchFields() public méthode

Returns an array with all the fields the search pattern should be executed on.
public getSearchFields ( ) : array | null
Résultat array | null

getSearchPattern() public méthode

Returns the pattern of the search.
public getSearchPattern ( ) : mixed
Résultat mixed

getSortColumn() public méthode

Returns the desired sort column.
public getSortColumn ( ) : string
Résultat string

getSortOrder() public méthode

Returns desired sort order.
public getSortOrder ( ) : string
Résultat string