PHP 클래스 OEDatetimeValidator

(C) OpenEyes Foundation, 2016 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
상속: extends OEBaseDateValidator
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$allowEmpty whether the attribute value can be null or empty. Defaults to false. If this is true, it means the attribute is considered valid when it is empty.

공개 메소드들

메소드 설명
validateAttribute ( $object, $attribute )

메소드 상세

validateAttribute() 공개 메소드

public validateAttribute ( $object, $attribute )

프로퍼티 상세

$allowEmpty 공개적으로 프로퍼티

whether the attribute value can be null or empty. Defaults to false. If this is true, it means the attribute is considered valid when it is empty.
public $allowEmpty