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