PHP 클래스 Bluz\Validator\Rule\Date

상속: extends AbstractRule
파일 보기 프로젝트 열기: bluzphp/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$format date format

공개 메소드들

메소드 설명
__construct ( string $format = null ) Setup validation rule
getTemplate ( ) : string Get error template
validate ( mixed $input ) : boolean Check input data

메소드 상세

__construct() 공개 메소드

Setup validation rule
public __construct ( string $format = null )
$format string

getTemplate() 공개 메소드

Get error template
public getTemplate ( ) : string
리턴 string

validate() 공개 메소드

Check input data
public validate ( mixed $input ) : boolean
$input mixed
리턴 boolean

프로퍼티 상세

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

date format
protected $format