MINOR: added empty statics to PageComment to allow for decoration

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70408 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2009-01-20 03:46:29 +00:00 committed by Sam Minnee
parent e30a18ca3b
commit 1c7895683f

View File

@ -5,6 +5,7 @@
* @subpackage comments
*/
class PageComment extends DataObject {
static $db = array(
"Name" => "Varchar(200)",
"Comment" => "Text",
@ -18,6 +19,12 @@ class PageComment extends DataObject {
"Author" => "Member" // Only set when the user is logged in when posting
);
static $has_many = array();
static $many_many = array();
static $defaults = array();
static $casting = array(
"RSSTitle" => "Varchar",
);
@ -28,7 +35,7 @@ class PageComment extends DataObject {
static $moderate = false;
static $bbcode = false;
/**
* Return a link to this comment
* @return string link to this comment.