1
0
mirror of synced 2024-12-13 22:56:04 +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);
}
}