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

    r282 r535  
    1717      'answer' => VALID_NOT_EMPTY 
    1818   ); 
     19/* 
     20public $validate = array( 
     21        'login' => array('alphanumeric' => array( 
     22                                                 'rule' => 'alphaNumeric', 
     23                                             'required' => true, 
     24                                                         'message' => 'Alphabets and numbers only' 
     25                                   ), 
     26                                'between' => array( 
     27                                           'rule' => array('between', 5, 15), 
     28                                                                               'message' => 'Between 5 to 15 characters' 
     29                                           ) 
     30                                ), 
     31                       'password' => array( 
     32                                   'rule' => array('minLength', '8'), 
     33                                                               'message' => 'Mimimum 8 characters long' 
     34                                   ), 
     35                       'email' => 'email', 
     36                       'born' => array( 
     37                               'rule' => 'date', 
     38                               'message' => 'Enter a valid date', 
     39                                                           'allowEmpty' => true 
     40                               ) 
     41                       ); */ 
    1942} 
    20  
    2143?>