PHP 클래스 Encore\Admin\Grid\Filter

파일 보기 프로젝트 열기: z-song/laravel-admin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allows array
$filters array
$model

공개 메소드들

메소드 설명
__call ( string $method, array $arguments ) Generate a filter object and add to grid.
__construct ( Model $model )
__toString ( ) : Illuminate\View\View | string Get the string contents of the filter view.
conditions ( ) : array Get all conditions of the filters.
execute ( ) : array Execute the filter with conditions.
render ( ) : Illuminate\View\View | string Get the string contents of the filter view.

보호된 메소드들

메소드 설명
addFilter ( AbstractFilter $filter ) : AbstractFilter Add a filter to grid.
filters ( ) : AbstractFilter[] Get all filters.

메소드 상세

__call() 공개 메소드

Generate a filter object and add to grid.
public __call ( string $method, array $arguments )
$method string
$arguments array

__construct() 공개 메소드

public __construct ( Model $model )
$model Model

__toString() 공개 메소드

Get the string contents of the filter view.
public __toString ( ) : Illuminate\View\View | string
리턴 Illuminate\View\View | string

addFilter() 보호된 메소드

Add a filter to grid.
protected addFilter ( AbstractFilter $filter ) : AbstractFilter
$filter Encore\Admin\Grid\Filter\AbstractFilter
리턴 Encore\Admin\Grid\Filter\AbstractFilter

conditions() 공개 메소드

Get all conditions of the filters.
public conditions ( ) : array
리턴 array

execute() 공개 메소드

Execute the filter with conditions.
public execute ( ) : array
리턴 array

filters() 보호된 메소드

Get all filters.
protected filters ( ) : AbstractFilter[]
리턴 Encore\Admin\Grid\Filter\AbstractFilter[]

render() 공개 메소드

Get the string contents of the filter view.
public render ( ) : Illuminate\View\View | string
리턴 Illuminate\View\View | string

프로퍼티 상세

$allows 보호되어 있는 프로퍼티

protected array $allows
리턴 array

$filters 보호되어 있는 프로퍼티

protected array $filters
리턴 array

$model 보호되어 있는 프로퍼티

protected $model