PHP Class OEFuzzyDateValidator

Inheritance: extends CValidator
ファイルを表示 Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Property Type Description
$attribute
$day
$month
$object Dates must be in the format (yyyy-mm-dd). mm and dd can be 00 to indicate the level of fuzziness of the date
$year

Public Methods

Method Description
validateAttribute ( $object, $attribute )

Protected Methods

Method Description
validateCompleteDate ( )
validateFuzzyMonthYear ( )
validateFuzzyYear ( )

Method Details

validateAttribute() public method

public validateAttribute ( $object, $attribute )

validateCompleteDate() protected method

protected validateCompleteDate ( )

validateFuzzyMonthYear() protected method

protected validateFuzzyMonthYear ( )

validateFuzzyYear() protected method

protected validateFuzzyYear ( )

Property Details

$attribute protected_oe property

protected $attribute

$day protected_oe property

protected $day

$month protected_oe property

protected $month

$object protected_oe property

Dates must be in the format (yyyy-mm-dd). mm and dd can be 00 to indicate the level of fuzziness of the date
protected $object

$year protected_oe property

protected $year