| | 50 | /* |
| | 51 | public $validate = array( |
| | 52 | 'login' => array('alphanumeric' => array( |
| | 53 | 'rule' => 'alphaNumeric', |
| | 54 | 'required' => true, |
| | 55 | 'message' => 'Alphabets and numbers only' |
| | 56 | ), |
| | 57 | 'between' => array( |
| | 58 | 'rule' => array('between', 5, 15), |
| | 59 | 'message' => 'Between 5 to 15 characters' |
| | 60 | ) |
| | 61 | ), |
| | 62 | 'password' => array( |
| | 63 | 'rule' => array('minLength', '8'), |
| | 64 | 'message' => 'Mimimum 8 characters long' |
| | 65 | ), |
| | 66 | 'email' => 'email', |
| | 67 | 'born' => array( |
| | 68 | 'rule' => 'date', |
| | 69 | 'message' => 'Enter a valid date', |
| | 70 | 'allowEmpty' => true |
| | 71 | ) |
| | 72 | ); */ |