Property | Type | Description | |
---|---|---|---|
$requestStack | The current request object. |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) | The constructor takes the request stack as an argument, which is injected by the service container. | |
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 | Description | |
---|---|---|
getRequest ( ) : |
Returns the current Request. |
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) | ||
$requestStack | Symfony\Component\HttpFoundation\RequestStack |
protected getRequest ( ) : |
||
return |
public getSearchFields ( ) : array | null | ||
return | array | null |
public getSearchPattern ( ) : mixed | ||
return | mixed |
public getSortColumn ( ) : string | ||
return | string |
public getSortOrder ( ) : string | ||
return | string |