cleanup
This commit is contained in:
parent
f9938ea6fd
commit
07a166201d
@ -20,20 +20,8 @@ class ForumUser extends Doctrine_Entity
|
||||
$class->mapColumn('id', 'integer', 4, array(
|
||||
'primary' => true,
|
||||
'autoincrement' => true));
|
||||
$class->mapColumn('username', 'string', 50, array(
|
||||
'accessor' => 'getUsernameCustom',
|
||||
'mutator' => 'setUsernameCustom'));
|
||||
$class->mapColumn('username', 'string', 50, array());
|
||||
|
||||
}
|
||||
|
||||
public function getUsernameCustom()
|
||||
{
|
||||
return $this->rawGetField('username') . "!";
|
||||
}
|
||||
|
||||
public function setUsernameCustom($username)
|
||||
{
|
||||
$this->rawSetField('username', $username . "?");
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user