1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/models/ResourceType.php

11 lines
273 B
PHP

<?php
class ResourceType extends Doctrine_Record {
public function setUp() {
$this->hasMany('Resource as ResourceAlias', 'ResourceReference.resource_id');
}
public function setTableDefinition() {
$this->hasColumn('type', 'string',100);
}
}