2007-11-09 00:44:11 +03:00
|
|
|
<?php
|
|
|
|
class Bookmark extends Doctrine_Record
|
|
|
|
{
|
2008-02-04 00:29:57 +03:00
|
|
|
public static function initMetadata($class)
|
2007-11-09 00:44:11 +03:00
|
|
|
{
|
2008-02-04 00:29:57 +03:00
|
|
|
$class->setColumn('user_id', 'integer', null, array('primary' => true));
|
|
|
|
$class->setColumn('page_id', 'integer', null, array('primary' => true));
|
2007-11-09 00:44:11 +03:00
|
|
|
}
|
|
|
|
}
|