PHP 클래스 Airship\Engine\Security\Filter\StringFilter

상속: extends InputFilter
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$default mixed
$pattern string
$type string

공개 메소드들

메소드 설명
applyCallbacks ( mixed $data = null, integer $offset ) : mixed Apply all of the callbacks for this filter.
nonEmpty ( string $input ) : string
setPattern ( string $pattern = '' ) : self Set a regular expression pattern that the input string must match.

메소드 상세

applyCallbacks() 공개 메소드

Apply all of the callbacks for this filter.
public applyCallbacks ( mixed $data = null, integer $offset ) : mixed
$data mixed
$offset integer
리턴 mixed

nonEmpty() 공개 정적인 메소드

public static nonEmpty ( string $input ) : string
$input string
리턴 string

setPattern() 공개 메소드

Set a regular expression pattern that the input string must match.
public setPattern ( string $pattern = '' ) : self
$pattern string
리턴 self

프로퍼티 상세

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

protected mixed $default
리턴 mixed

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

protected string $pattern
리턴 string

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

protected string $type
리턴 string