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

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