1
0
mirror of synced 2025-03-04 20:03:21 +03:00

fixed syntax errors

This commit is contained in:
roger 2006-09-20 15:51:33 +00:00
parent 43980029d4
commit edbe5cd3ac

View File

@ -9,6 +9,7 @@ class Email extends Doctrine_Record {
"200", // column length
array("notblank" => true,
"email" => true // validators / constraints
)
);
@ -17,7 +18,7 @@ class Email extends Doctrine_Record {
"200", // column length
// validators / constraints without arguments can be
// specified also as as string with | separator
"notblank|email",
"notblank|email"
);
// Doctrine even supports the following format for
@ -26,7 +27,7 @@ class Email extends Doctrine_Record {
$this->hasColumn("address3", // name of the column
"string", // column type
"200", // column length
array("notblank", "email"),
array("notblank", "email")
);
}
}