1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/tests/models/forum/ForumAdministrator.php

16 lines
360 B
PHP
Raw Normal View History

2008-02-11 22:56:26 +03:00
<?php
class ForumAdministrator extends ForumUser
{
public static function initMetadata($mapping)
2008-02-11 22:56:26 +03:00
{
$mapping->mapField(array(
'fieldName' => 'accessLevel',
'columnName' => 'access_level',
'type' => 'integer',
'length' => 1
));
2008-02-11 22:56:26 +03:00
}
2008-03-23 14:30:29 +03:00
public function banUser(ForumUser $user) {}
2008-02-11 22:56:26 +03:00
}