ENHANCEMENT Added empty relationship statics so BlogEntry can be decorated by a DataObjectDecorator

This commit is contained in:
Sean Harvey 2008-11-25 04:24:51 +00:00
parent 4501f30ed9
commit cbf39d1ec8
1 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,7 @@
* An individual blog entry page to show a blog entry in full
*/
class BlogEntry extends Page {
static $default_parent = 'BlogHolder';
static $can_be_root = false;
@ -20,6 +21,15 @@ class BlogEntry extends Page {
"Tags" => "Text"
);
static $has_one = array(
);
static $has_many = array(
);
static $many_many = array(
);
static $casting = array(
"Date" => "Date"
);