PHP 클래스 Encore\Admin\Grid\Filter\AbstractFilter

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

보호된 프로퍼티들

프로퍼티 타입 설명
$column
$field
$id
$label
$query
$value

공개 메소드들

메소드 설명
__construct ( $column, $label = '' )
__toString ( )
condition ( array $inputs ) : array | mixed | null Get query condition from filter.
datetime ( ) Datetime filter.
field ( )
formatId ( $columns ) : array | string Format id.
getId ( )
render ( )
select ( array $options = [] ) Select filter.
setupField ( ) : void Setup field.

보호된 메소드들

메소드 설명
buildCondition ( )
buildRelationCondition ( )
fieldVars ( )
formatLabel ( string $label ) : string Format label.
formatName ( string $column ) : string Format name.
setField ( $field )
variables ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $column, $label = '' )

__toString() 공개 메소드

public __toString ( )

buildCondition() 보호된 메소드

protected buildCondition ( )

buildRelationCondition() 보호된 메소드

protected buildRelationCondition ( )

condition() 공개 메소드

Get query condition from filter.
public condition ( array $inputs ) : array | mixed | null
$inputs array
리턴 array | mixed | null

datetime() 공개 메소드

Datetime filter.
public datetime ( )

field() 공개 메소드

public field ( )

fieldVars() 보호된 메소드

protected fieldVars ( )

formatId() 공개 메소드

Format id.
public formatId ( $columns ) : array | string
$columns
리턴 array | string

formatLabel() 보호된 메소드

Format label.
protected formatLabel ( string $label ) : string
$label string
리턴 string

formatName() 보호된 메소드

Format name.
protected formatName ( string $column ) : string
$column string
리턴 string

getId() 공개 메소드

public getId ( )

render() 공개 메소드

public render ( )

select() 공개 메소드

Select filter.
public select ( array $options = [] )
$options array

setField() 보호된 메소드

protected setField ( $field )

setupField() 공개 메소드

Setup field.
public setupField ( ) : void
리턴 void

variables() 보호된 메소드

protected variables ( )

프로퍼티 상세

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

protected $column

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

protected $field

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

protected $id

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

protected $label

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

protected $query

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

protected $value