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

16 lines
360 B
PHP

<?php
class ForumAdministrator extends ForumUser
{
public static function initMetadata($mapping)
{
$mapping->mapField(array(
'fieldName' => 'accessLevel',
'columnName' => 'access_level',
'type' => 'integer',
'length' => 1
));
}
public function banUser(ForumUser $user) {}
}