2008-02-11 22:56:26 +03:00
|
|
|
<?php
|
|
|
|
|
2009-01-04 19:15:32 +03:00
|
|
|
#namespace Doctrine\Tests\Models\Forum;
|
|
|
|
|
2008-02-11 22:56:26 +03:00
|
|
|
class ForumAdministrator extends ForumUser
|
|
|
|
{
|
2008-12-18 17:08:11 +03:00
|
|
|
public $accessLevel;
|
|
|
|
|
2008-07-21 00:13:24 +04:00
|
|
|
public static function initMetadata($mapping)
|
2008-02-11 22:56:26 +03:00
|
|
|
{
|
2008-07-21 00:13:24 +04:00
|
|
|
$mapping->mapField(array(
|
|
|
|
'fieldName' => 'accessLevel',
|
|
|
|
'columnName' => 'access_level',
|
2008-12-18 17:08:11 +03:00
|
|
|
'type' => 'integer'
|
2008-07-21 00:13:24 +04:00
|
|
|
));
|
2008-02-11 22:56:26 +03:00
|
|
|
}
|
|
|
|
}
|