PHP 클래스 Ublaboo\DataGrid\Filter\FilterSelect

상속: extends Filter
파일 보기 프로젝트 열기: ublaboo/datagrid 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$options array
$template string
$translateOptions boolean
$type string

공개 메소드들

메소드 설명
__construct ( DataGrid $grid, string $key, string $name, array $options, string $column )
addToFormContainer ( Container $container ) Adds select box to filter form
getCondition ( ) : array Get filter condition
getTranslateOptions ( ) : boolean
setTranslateOptions ( boolean $translateOptions = TRUE ) : static

보호된 메소드들

메소드 설명
addControl ( Container $container, string $key, string $name, array $options ) : SelectBox

메소드 상세

__construct() 공개 메소드

public __construct ( DataGrid $grid, string $key, string $name, array $options, string $column )
$grid Ublaboo\DataGrid\DataGrid
$key string
$name string
$options array
$column string

addControl() 보호된 메소드

protected addControl ( Container $container, string $key, string $name, array $options ) : SelectBox
$container Nette\Forms\Container
$key string
$name string
$options array
리턴 Nette\Forms\Controls\SelectBox

addToFormContainer() 공개 메소드

Adds select box to filter form
public addToFormContainer ( Container $container )
$container Nette\Forms\Container

getCondition() 공개 메소드

Get filter condition
public getCondition ( ) : array
리턴 array

getTranslateOptions() 공개 메소드

public getTranslateOptions ( ) : boolean
리턴 boolean

setTranslateOptions() 공개 메소드

public setTranslateOptions ( boolean $translateOptions = TRUE ) : static
$translateOptions boolean
리턴 static

프로퍼티 상세

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

protected array $options
리턴 array

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

protected string $template
리턴 string

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

protected bool $translateOptions
리턴 boolean

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

protected string $type
리턴 string