PHP 클래스 Yajra\Datatables\Engines\CollectionEngine

저자: Arjay Angeles ([email protected])
상속: extends BaseEngine
파일 보기 프로젝트 열기: yajra/laravel-datatables-oracle

공개 프로퍼티들

프로퍼티 타입 설명
$collection Illuminate\Support\Collection Collection object
$original_collection Illuminate\Support\Collection Collection object

공개 메소드들

메소드 설명
__construct ( Collection $collection, Request $request ) CollectionEngine constructor.
columnSearch ( ) : void Perform column search.
count ( ) : integer Count results.
filter ( Closure $callback, boolean $globalSearch = false ) Set auto filter off and run your own filter.
filtering ( ) : void Perform global search.
make ( boolean $mDataSupport = false, boolean $orderFirst = true ) : Illuminate\Http\JsonResponse Organizes works.
ordering ( ) : void Perform sorting of columns.
paging ( ) : void Perform pagination.
results ( ) : mixed Get results.
showDebugger ( array $output ) : array Append debug parameters on output.
totalCount ( ) : integer Count total items.

보호된 메소드들

메소드 설명
serialize ( mixed $collection ) : mixed | null Serialize collection

메소드 상세

__construct() 공개 메소드

CollectionEngine constructor.
public __construct ( Collection $collection, Request $request )
$collection Illuminate\Support\Collection
$request Yajra\Datatables\Request

columnSearch() 공개 메소드

Perform column search.
public columnSearch ( ) : void
리턴 void

count() 공개 메소드

Count results.
public count ( ) : integer
리턴 integer

filter() 공개 메소드

Overrides global search.
public filter ( Closure $callback, boolean $globalSearch = false )
$callback Closure
$globalSearch boolean

filtering() 공개 메소드

Perform global search.
public filtering ( ) : void
리턴 void

make() 공개 메소드

Organizes works.
public make ( boolean $mDataSupport = false, boolean $orderFirst = true ) : Illuminate\Http\JsonResponse
$mDataSupport boolean
$orderFirst boolean
리턴 Illuminate\Http\JsonResponse

ordering() 공개 메소드

Perform sorting of columns.
public ordering ( ) : void
리턴 void

paging() 공개 메소드

Perform pagination.
public paging ( ) : void
리턴 void

results() 공개 메소드

Get results.
public results ( ) : mixed
리턴 mixed

serialize() 보호된 메소드

Serialize collection
protected serialize ( mixed $collection ) : mixed | null
$collection mixed
리턴 mixed | null

showDebugger() 공개 메소드

Append debug parameters on output.
public showDebugger ( array $output ) : array
$output array
리턴 array

totalCount() 공개 메소드

Count total items.
public totalCount ( ) : integer
리턴 integer

프로퍼티 상세

$collection 공개적으로 프로퍼티

Collection object
public Collection,Illuminate\Support $collection
리턴 Illuminate\Support\Collection

$original_collection 공개적으로 프로퍼티

Collection object
public Collection,Illuminate\Support $original_collection
리턴 Illuminate\Support\Collection