1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/models/BookmarkUser.php

15 lines
342 B
PHP
Raw Normal View History

<?php
class BookmarkUser extends Doctrine_Record
{
public function setUp()
{
$this->hasMany('Bookmark as Bookmarks',
array('local' => 'id',
'foreign' => 'user_id'));
}
public function setTableDefinition()
{
$this->hasColumn('name', 'string', 30);
}
}