Show
Ignore:
Timestamp:
05/20/08 15:46:39 (8 months ago)
Author:
aarkerio
Message:

New test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/models/event.php

    r113 r535  
    4848      'date' => VALID_NOT_EMPTY 
    4949   ); 
     50/* 
     51public $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                       ); */ 
    5073} 
    5174