PHP 클래스 Ublaboo\DataGrid\Filter\FilterText

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

보호된 프로퍼티들

프로퍼티 타입 설명
$exact boolean
$split_words_search boolean
$template string
$type string

공개 메소드들

메소드 설명
addToFormContainer ( Container $container ) Adds text field to filter form
getCondition ( ) : array | callable Return array of conditions to put in result [column1 => value, column2 => value] If more than one column exists in fitler text, than there is OR clause put betweeen their conditions Or callback in case of custom condition callback
hasSplitWordsSearch ( ) : boolean
isExactSearch ( ) : boolean
setExactSearch ( boolean $exact = TRUE ) : FilterText
setSplitWordsSearch ( boolean $split_words_search ) : FilterText

메소드 상세

addToFormContainer() 공개 메소드

Adds text field to filter form
public addToFormContainer ( Container $container )
$container Nette\Forms\Container

getCondition() 공개 메소드

Return array of conditions to put in result [column1 => value, column2 => value] If more than one column exists in fitler text, than there is OR clause put betweeen their conditions Or callback in case of custom condition callback
public getCondition ( ) : array | callable
리턴 array | callable

hasSplitWordsSearch() 공개 메소드

public hasSplitWordsSearch ( ) : boolean
리턴 boolean

isExactSearch() 공개 메소드

public isExactSearch ( ) : boolean
리턴 boolean

setExactSearch() 공개 메소드

public setExactSearch ( boolean $exact = TRUE ) : FilterText
$exact boolean
리턴 FilterText

setSplitWordsSearch() 공개 메소드

public setSplitWordsSearch ( boolean $split_words_search ) : FilterText
$split_words_search boolean
리턴 FilterText

프로퍼티 상세

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

protected bool $exact
리턴 boolean

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

protected string $template
리턴 string

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

protected string $type
리턴 string