Fixing code formating

This commit is contained in:
José Lorenzo Rodríguez 2010-04-30 16:07:59 -04:30
parent 0471ea046f
commit 9b040a5ed3

View file

@ -109,9 +109,12 @@ class Contact extends CakeTestModel {
'imrequiredtoo' => array('rule' => 'notEmpty'),
'required_one' => array('required' => array('rule' => array('notEmpty'))),
'imnotrequired' => array('required' => false, 'rule' => 'alphaNumeric', 'allowEmpty' => true),
'imalsonotrequired' => array('alpha' => array('rule' => 'alphaNumeric','allowEmpty' => true),
'imalsonotrequired' => array(
'alpha' => array('rule' => 'alphaNumeric','allowEmpty' => true),
'between' => array('rule' => array('between', 5, 30)),
),
'imnotrequiredeither' => array('required' => true, 'rule' => array('between', 5, 30), 'allowEmpty' => true),
'between' => array('rule' => array('between', 5, 30))));
);
/**
* schema method