| 92 | | |
| | 92 | /* |
| | 93 | public $validate = array( |
| | 94 | 'login' => array('alphanumeric' => array( |
| | 95 | 'rule' => 'alphaNumeric', |
| | 96 | 'required' => true, |
| | 97 | 'message' => 'Alphabets and numbers only' |
| | 98 | ), |
| | 99 | 'between' => array( |
| | 100 | 'rule' => array('between', 5, 15), |
| | 101 | 'message' => 'Between 5 to 15 characters' |
| | 102 | ) |
| | 103 | ), |
| | 104 | 'password' => array( |
| | 105 | 'rule' => array('minLength', '8'), |
| | 106 | 'message' => 'Mimimum 8 characters long' |
| | 107 | ), |
| | 108 | 'email' => 'email', |
| | 109 | 'born' => array( |
| | 110 | 'rule' => 'date', |
| | 111 | 'message' => 'Enter a valid date', |
| | 112 | 'allowEmpty' => true |
| | 113 | ) |
| | 114 | ); */ |