PHP 클래스 OpenSkill\Datatable\Versions\Datatable110Version

상속: extends DatatableVersion
파일 보기 프로젝트 열기: openskill/datatable 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) Datatable110Version constructor.
createResponse ( ResponseData $data, OpenSkill\Datatable\Queries\QueryConfiguration $queryConfiguration, array $columnConfigurations ) : Symfony\Component\HttpFoundation\JsonResponse Is responsible to take the generated data and prepare a response for it.
scriptView ( ) : string
tableView ( ) : string

메소드 상세

__construct() 공개 메소드

Datatable110Version constructor.
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack )
$requestStack Symfony\Component\HttpFoundation\RequestStack The current request

createResponse() 공개 메소드

Is responsible to take the generated data and prepare a response for it.
public createResponse ( ResponseData $data, OpenSkill\Datatable\Queries\QueryConfiguration $queryConfiguration, array $columnConfigurations ) : Symfony\Component\HttpFoundation\JsonResponse
$data OpenSkill\Datatable\Data\ResponseData The processed data.
$queryConfiguration OpenSkill\Datatable\Queries\QueryConfiguration the query configuration for the current request.
$columnConfigurations array the column configurations for the current data table.
리턴 Symfony\Component\HttpFoundation\JsonResponse the response that should be returned to the client.

scriptView() 공개 메소드

public scriptView ( ) : string
리턴 string The name of the view that this version should use for the script.

tableView() 공개 메소드

public tableView ( ) : string
리턴 string The name of the view that this version should use fot the table.