diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 09:08:53 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-07 09:08:53 +0000 |
commit | 01dcbbcda5a4630cec6a1bbee052ef108e291a5d (patch) | |
tree | 0bd7430bc3e41f529e5f5ce1318160971da9d9a3 /modules/comment/models | |
parent | 925720ac3d6f0b7fafcd1833991bb16b8fea538b (diff) |
Add very basic comment listing which shows the different queues
(approved, unapproved, spam).
Diffstat (limited to 'modules/comment/models')
-rw-r--r-- | modules/comment/models/comment.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/comment/models/comment.php b/modules/comment/models/comment.php index 323356b4..cd7a5d07 100644 --- a/modules/comment/models/comment.php +++ b/modules/comment/models/comment.php @@ -23,4 +23,8 @@ class Comment_Model extends ORM { "email" => "valid_email", "url" => "valid_url", "text" => "required"); + + function item() { + return ORM::factory("item", $this->item_id); + } } |