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

    r494 r535  
    9090      'status'  => VALID_NOT_EMPTY 
    9191   ); 
    92   
     92/* 
     93public $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                       ); */  
    93115 /** 
    94116 *  Get student record, return array