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

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