프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$queryParser | OpenSkill\Datatable\Queries\Parser\QueryParser |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | 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 |
리턴 | OpenSkill\Datatable\Queries\QueryConfiguration | the configuration the provider can use to prepare the data |