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

11 lines
273 B
PHP
Raw Normal View History

<?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);
}
}