mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
e30a18ca3b
commit
1c7895683f
@ -5,6 +5,7 @@
|
|||||||
* @subpackage comments
|
* @subpackage comments
|
||||||
*/
|
*/
|
||||||
class PageComment extends DataObject {
|
class PageComment extends DataObject {
|
||||||
|
|
||||||
static $db = array(
|
static $db = array(
|
||||||
"Name" => "Varchar(200)",
|
"Name" => "Varchar(200)",
|
||||||
"Comment" => "Text",
|
"Comment" => "Text",
|
||||||
@ -18,6 +19,12 @@ class PageComment extends DataObject {
|
|||||||
"Author" => "Member" // Only set when the user is logged in when posting
|
"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(
|
static $casting = array(
|
||||||
"RSSTitle" => "Varchar",
|
"RSSTitle" => "Varchar",
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user