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

    r282 r535  
    2626      'definition'     => VALID_NOT_EMPTY 
    2727   ); 
     28/* 
     29public $validate = array( 
     30        'login' => array('alphanumeric' => array( 
     31                                                 'rule' => 'alphaNumeric', 
     32                                             'required' => true, 
     33                                                         'message' => 'Alphabets and numbers only' 
     34                                   ), 
     35                                'between' => array( 
     36                                           'rule' => array('between', 5, 15), 
     37                                                                               'message' => 'Between 5 to 15 characters' 
     38                                           ) 
     39                                ), 
     40                       'password' => array( 
     41                                   'rule' => array('minLength', '8'), 
     42                                                               'message' => 'Mimimum 8 characters long' 
     43                                   ), 
     44                       'email' => 'email', 
     45                       'born' => array( 
     46                               'rule' => 'date', 
     47                               'message' => 'Enter a valid date', 
     48                                                           'allowEmpty' => true 
     49                               ) 
     50                       ); */ 
    2851} 
    2952