PHP 클래스 OpenSkill\Datatable\Versions\DatatableVersion

상속: extends OpenSkill\Datatable\Versions\Version
파일 보기 프로젝트 열기: openskill/datatable 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 ( ) : Request Get the request out of the request stack

메소드 상세

__construct() 공개 메소드

DatatableVersion constructor.
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, OpenSkill\Datatable\Queries\Parser\QueryParser $queryParser )
$requestStack Symfony\Component\HttpFoundation\RequestStack
$queryParser OpenSkill\Datatable\Queries\Parser\QueryParser

canParseRequest() 공개 메소드

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
public canParseRequest ( ) : boolean
리턴 boolean true if the parser is able to parse the query parameters and to return a DTQueryConfiguration

parseRequest() 공개 메소드

Method that should parse the request and 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

프로퍼티 상세

$queryParser 보호되어 있는 프로퍼티

protected QueryParser,OpenSkill\Datatable\Queries\Parser $queryParser
리턴 OpenSkill\Datatable\Queries\Parser\QueryParser