PHP Class OEFuzzyDateValidator

Inheritance: extends CValidator
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
validateAttribute ( $object, $attribute )

Méthodes protégées

Méthode Description
validateCompleteDate ( )
validateFuzzyMonthYear ( )
validateFuzzyYear ( )

Method Details

validateAttribute() public méthode

public validateAttribute ( $object, $attribute )

validateCompleteDate() protected méthode

protected validateCompleteDate ( )

validateFuzzyMonthYear() protected méthode

protected validateFuzzyMonthYear ( )

validateFuzzyYear() protected méthode

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