PHP 클래스 Filterus\Filter

파일 보기 프로젝트 열기: ircmaxell/filterus 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultOptions
$filters
$options

공개 메소드들

메소드 설명
__construct ( array $options = [] )
arrays ( $filter = '', $keys = '', $values = '' )
chain ( )
factory ( $filter )
filter ( $var )
getOptions ( )
map ( $filters )
pool ( )
registerFilter ( $name, $class )
setOption ( $key, $value )
setOptions ( array $options )
validate ( $var )

보호된 메소드들

메소드 설명
parseFilter ( $filter )

메소드 상세

__construct() 최종 공개 메소드

final public __construct ( array $options = [] )
$options array

arrays() 공개 정적인 메소드

public static arrays ( $filter = '', $keys = '', $values = '' )

chain() 공개 정적인 메소드

public static chain ( )

factory() 공개 정적인 메소드

public static factory ( $filter )

filter() 추상적인 공개 메소드

abstract public filter ( $var )

getOptions() 공개 메소드

public getOptions ( )

map() 공개 정적인 메소드

public static map ( $filters )

parseFilter() 보호된 정적인 메소드

protected static parseFilter ( $filter )

pool() 공개 정적인 메소드

public static pool ( )

registerFilter() 공개 정적인 메소드

public static registerFilter ( $name, $class )

setOption() 공개 메소드

public setOption ( $key, $value )

setOptions() 공개 메소드

public setOptions ( array $options )
$options array

validate() 공개 메소드

public validate ( $var )

프로퍼티 상세

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

protected $defaultOptions

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

protected static $filters

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

protected $options