root/branches/0.9/models/BookmarkUser.php

Revision 3096, 342 bytes (checked in by dbrewer, 14 months ago)

Added test case for #587, and models to support that test case.

Line 
1<?php
2class BookmarkUser extends Doctrine_Record
3{
4    public function setUp()
5    {
6        $this->hasMany('Bookmark as Bookmarks',
7                        array('local' => 'id',
8                              'foreign' => 'user_id'));
9    }
10    public function setTableDefinition()
11    {
12        $this->hasColumn('name', 'string', 30);
13    }
14}
Note: See TracBrowser for help on using the browser.