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

15 lines
342 B
PHP

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