From 563f0675086dcbe3f45c5adedf3a4b9d811ca6ff Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 18 Dec 2010 02:39:24 -0500 Subject: [PATCH] save title and description of bookmark --- plugins/Bookmark/Notice_bookmark.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Bookmark/Notice_bookmark.php b/plugins/Bookmark/Notice_bookmark.php index 772fad528b..6a49421fb5 100644 --- a/plugins/Bookmark/Notice_bookmark.php +++ b/plugins/Bookmark/Notice_bookmark.php @@ -47,6 +47,8 @@ class Notice_bookmark extends Memcached_DataObject { public $__table = 'notice_bookmark'; // table name public $notice_id; // int(4) primary_key not_null + public $title; // varchar(255) + public $description; // text /** * Get an instance by key @@ -76,7 +78,9 @@ class Notice_bookmark extends Memcached_DataObject function table() { - return array('notice_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL); + return array('notice_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL, + 'title' => DB_DATAOBJECT_STR, + 'description' => DB_DATAOBJECT_STR); } /** -- 2.39.5