Fixing content type ordering when content_type is not defined.
[akelos.git] / test / fixtures / app / models / test_person.php
blob39f7627f7964ea99e93a52e6932f11187faf3928
1 <?php
3 class TestPerson extends ActiveRecord
4 {
5 function validate()
7 $this->validatesPresenceOf("first_name");
10 function validateOnCreate()
12 $this->validatesAcceptanceOf("tos");
15 function validateOnUpdate()
17 $this->validatesPresenceOf("email");