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/entry.php

    r292 r535  
    3737      'status' => VALID_NOT_EMPTY 
    3838   ); 
     39/* 
     40public $validate = array( 
     41        'login' => array('alphanumeric' => array( 
     42                                                 'rule' => 'alphaNumeric', 
     43                                             'required' => true, 
     44                                                         'message' => 'Alphabets and numbers only' 
     45                                   ), 
     46                                'between' => array( 
     47                                           'rule' => array('between', 5, 15), 
     48                                                                               'message' => 'Between 5 to 15 characters' 
     49                                           ) 
     50                                ), 
     51                       'password' => array( 
     52                                   'rule' => array('minLength', '8'), 
     53                                                               'message' => 'Mimimum 8 characters long' 
     54                                   ), 
     55                       'email' => 'email', 
     56                       'born' => array( 
     57                               'rule' => 'date', 
     58                               'message' => 'Enter a valid date', 
     59                                                           'allowEmpty' => true 
     60                               ) 
     61                       ); */ 
    3962} 
    4063