13 lines
308 B
PHP
13 lines
308 B
PHP
|
<?php
|
||
|
class ORM_AccessGroup extends Doctrine_Record
|
||
|
{
|
||
|
public function setTableDefinition()
|
||
|
{
|
||
|
$this->hasColumn('name', 'string', 255);
|
||
|
}
|
||
|
public function setUp()
|
||
|
{
|
||
|
$this->hasMany('ORM_AccessControl as accessControls', 'ORM_AccessControlsGroups.accessControlID');
|
||
|
}
|
||
|
}
|