PHP Class OpenSkill\Datatable\Versions\Datatable19Version

Inheritance: extends OpenSkill\Datatable\Versions\Version
Afficher le fichier Open project: openskill/datatable Class Usage Examples

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

createResponse() public méthode

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.
Résultat Symfony\Component\HttpFoundation\JsonResponse the response that should be returned to the client.

scriptView() public méthode

public scriptView ( ) : string
Résultat string The name of the view that this version should use for the script.

tableView() public méthode

public tableView ( ) : string
Résultat string The name of the view that this version should use fot the table.