Commit 3b5046ac authored by myilmaz's avatar myilmaz

Update to the introduction, described how 3rd and fourth arguements are...

Update to the introduction, described how 3rd and fourth arguements are required and how you can enter null for the third arguement so that you can put in validation.
parent 91ee810a
......@@ -39,3 +39,5 @@ class Email extends Doctrine_Record {
}
}
</code>
Note that validators / column constraints and the column length fields are optional. The length may be omitted by using **null** for the length arguement, allowing doctrine to use a default length and permitting a fourth arguement for validation or column constraints.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment