Property | Type | Description | |
---|---|---|---|
$queryParser | OpenSkill\Datatable\Queries\Parser\QueryParser |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, OpenSkill\Datatable\Queries\Parser\QueryParser $queryParser ) | DatatableVersion constructor. | |
canParseRequest ( ) : boolean | Method to determine if this parser can handle the query parameters. If so then the parser should return true and be able to return a DTQueryConfiguration | |
parseRequest ( array $columnConfiguration ) : OpenSkill\Datatable\Queries\QueryConfiguration | Method that should parse the request and return a DTQueryConfiguration |
Method | Description | |
---|---|---|
getRequest ( ) : |
Get the request out of the request stack |
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, OpenSkill\Datatable\Queries\Parser\QueryParser $queryParser ) | ||
$requestStack | Symfony\Component\HttpFoundation\RequestStack | |
$queryParser | OpenSkill\Datatable\Queries\Parser\QueryParser |
public canParseRequest ( ) : boolean | ||
return | boolean | true if the parser is able to parse the query parameters and to return a DTQueryConfiguration |
public parseRequest ( array $columnConfiguration ) : OpenSkill\Datatable\Queries\QueryConfiguration | ||
$columnConfiguration | array | The configuration of the columns |
return | OpenSkill\Datatable\Queries\QueryConfiguration | the configuration the provider can use to prepare the data |