Method | Description | |
---|---|---|
__construct ( |
Datatable constructor. | |
make ( OpenSkill\Datatable\Providers\Provider $provider ) : |
Will create a new DataComposer with the given provider as implementation. | |
view ( string $tableView = null, string $scriptView = null ) : |
Will return a default DatatableView with no columns defined, but with the view and the version prepared. |
public __construct ( |
||
$versionEngine | The version engine that determines the correct version | |
$viewFactory | Illuminate\Contracts\View\Factory | The factory used to handle the view generation |
$configRepository | Illuminate\Contracts\Config\Repository | The repository responsible to get config values |
public make ( OpenSkill\Datatable\Providers\Provider $provider ) : |
||
$provider | OpenSkill\Datatable\Providers\Provider | The provider for the underlying data. |
return |