PHP Class Yajra\Datatables\Datatables

Afficher le fichier Open project: yajra/laravel-datatables-oracle Class Usage Examples

Protected Properties

Свойство Type Description
$builder Yajra\Datatables\Html\Builder Datatables builder.
$request Request Datatables request object.

Méthodes publiques

Méthode Description
__construct ( Request $request ) Datatables constructor.
collection ( Collection | mixed $builder ) : CollectionEngine Datatables using Collection.
eloquent ( Builder | mixed $builder ) : Yajra\Datatables\Engines\EloquentEngine Datatables using Eloquent Builder.
getHtmlBuilder ( ) : Builder Get html builder class.
getRequest ( ) : Request Get request object.
of ( mixed $object ) : mixed Gets query and returns instance of class.
queryBuilder ( Builder | mixed $builder ) : QueryBuilderEngine Datatables using Query Builder.

Method Details

__construct() public méthode

Datatables constructor.
public __construct ( Request $request )
$request Request

collection() public méthode

Datatables using Collection.
public collection ( Collection | mixed $builder ) : CollectionEngine
$builder Illuminate\Support\Collection | mixed
Résultat Yajra\Datatables\Engines\CollectionEngine

eloquent() public méthode

Datatables using Eloquent Builder.
public eloquent ( Builder | mixed $builder ) : Yajra\Datatables\Engines\EloquentEngine
$builder Illuminate\Database\Eloquent\Builder | mixed
Résultat Yajra\Datatables\Engines\EloquentEngine

getHtmlBuilder() public méthode

Get html builder class.
public getHtmlBuilder ( ) : Builder
Résultat Yajra\Datatables\Html\Builder

getRequest() public méthode

Get request object.
public getRequest ( ) : Request
Résultat Request

of() public static méthode

Gets query and returns instance of class.
public static of ( mixed $object ) : mixed
$object mixed
Résultat mixed

queryBuilder() public méthode

Datatables using Query Builder.
public queryBuilder ( Builder | mixed $builder ) : QueryBuilderEngine
$builder Illuminate\Database\Query\Builder | mixed
Résultat Yajra\Datatables\Engines\QueryBuilderEngine

Property Details

$builder protected_oe property

Datatables builder.
protected Builder,Yajra\Datatables\Html $builder
Résultat Yajra\Datatables\Html\Builder

$request protected_oe property

Datatables request object.
protected Request,Yajra\Datatables $request
Résultat Request