Changeset 4437 for trunk/tests/models
- Timestamp:
- 05/25/08 21:57:56 (8 months ago)
- Files:
-
- 1 modified
-
trunk/tests/models/forum/ForumUser.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/models/forum/ForumUser.php
r4436 r4437 21 21 'primary' => true, 22 22 'autoincrement' => true)); 23 $class->mapColumn('username', 'string', 50, array( 24 'accessor' => 'getUsernameCustom', 25 'mutator' => 'setUsernameCustom')); 23 $class->mapColumn('username', 'string', 50, array()); 26 24 27 25 } 28 26 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 39 27 }