2007-09-02 18:24:49 +04:00
|
|
|
<?php
|
|
|
|
class ValidatorTest_FootballPlayer extends Doctrine_Record {
|
2008-02-04 00:29:57 +03:00
|
|
|
public static function initMetadata($class) {
|
|
|
|
$class->setColumn('person_id', 'string', 255);
|
|
|
|
$class->setColumn('team_name', 'string', 255);
|
|
|
|
$class->setColumn('goals_count', 'integer', 4);
|
2007-09-02 18:24:49 +04:00
|
|
|
}
|
|
|
|
}
|