PHP 클래스 MultiFieldPartialMatchFilter, silvershop-core

상속: extends PartialMatchFilter
파일 보기 프로젝트 열기: burnbright/silverstripe-shop

보호된 프로퍼티들

프로퍼티 타입 설명
$subfilterModifiers array
$subfilters array

공개 메소드들

메소드 설명
__construct ( string $fullName, mixed $value = false, array $modifiers = [], array $otherFields = [] )
apply ( DataQuery $query )
setModifiers ( array $modifiers )
setSubfilters ( array $fieldNames )
setValue ( string $value )

보호된 메소드들

메소드 설명
shouldSplitWords ( ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( string $fullName, mixed $value = false, array $modifiers = [], array $otherFields = [] )
$fullName string Determines the name of the field, as well as the searched database column. Can contain a relation name in dot notation, which will automatically join the necessary tables (e.g. "Comments.Name" to join the "Comments" has-many relationship and search the "Name" column when applying this filter to a SiteTree class).
$value mixed [optional]
$modifiers array [optional]
$otherFields array [optional]

apply() 공개 메소드

public apply ( DataQuery $query )
$query DataQuery

setModifiers() 공개 메소드

public setModifiers ( array $modifiers )
$modifiers array

setSubfilters() 공개 메소드

public setSubfilters ( array $fieldNames )
$fieldNames array

setValue() 공개 메소드

public setValue ( string $value )
$value string

shouldSplitWords() 보호된 메소드

protected shouldSplitWords ( ) : boolean
리턴 boolean

프로퍼티 상세

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

protected array $subfilterModifiers
리턴 array

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

protected array $subfilters
리턴 array