PHP Класс OpenSkill\Datatable\Versions\Datatable19Version

Наследование: extends OpenSkill\Datatable\Versions\Version
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) Datatable19Version 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() публичный Метод

Datatable19Version 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.