2007-09-29 12:31:56 +00:00
|
|
|
<?php
|
|
|
|
class ValidatorTest_DateModel extends Doctrine_Record {
|
2008-02-03 21:29:57 +00:00
|
|
|
public static function initMetadata($class) {
|
|
|
|
$class->setColumn('birthday', 'date', null, array('past'));
|
|
|
|
$class->setColumn('death', 'date', null, array('future'));
|
2007-09-29 12:31:56 +00:00
|
|
|
}
|
|
|
|
}
|