1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/models/forum/ForumAdministrator.php

17 lines
347 B
PHP
Raw Normal View History

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
{
public $accessLevel;
public static function initMetadata($mapping)
2008-02-11 22:56:26 +03:00
{
$mapping->mapField(array(
'fieldName' => 'accessLevel',
'columnName' => 'access_level',
'type' => 'integer'
));
2008-02-11 22:56:26 +03:00
}
}