1
0
mirror of synced 2025-01-19 15:01:40 +03:00
doctrine2/classes/Validator/Date.class.php
doctrine 86b319e618 Improved validation API
require_once bug fix
2006-05-24 22:33:48 +00:00

15 lines
331 B
PHP

<?php
class Doctrine_Validator_Date {
/**
* @param Doctrine_Record $record
* @param string $key
* @param mixed $value
* @param string $args
* @return boolean
*/
public function validate(Doctrine_Record $record, $key, $value, $args) {
return checkdate($value);
}
}
?>