Changeset 4437 for trunk/tests/models

Show
Ignore:
Timestamp:
05/25/08 21:57:56 (8 months ago)
Author:
romanb
Message:

cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/models/forum/ForumUser.php

    r4436 r4437  
    2121                'primary' => true, 
    2222                'autoincrement' => true)); 
    23         $class->mapColumn('username', 'string', 50, array( 
    24                 'accessor' => 'getUsernameCustom', 
    25                 'mutator' => 'setUsernameCustom')); 
     23        $class->mapColumn('username', 'string', 50, array()); 
    2624         
    2725    } 
    2826     
    29     public function getUsernameCustom() 
    30     { 
    31         return $this->rawGetField('username') . "!"; 
    32     } 
    33      
    34     public function setUsernameCustom($username) 
    35     { 
    36         $this->rawSetField('username', $username . "?"); 
    37     } 
    38      
    3927}