Issue #42: Descriptions for BlogEntry, BlogHolder and BlogTree

For SilverStripe 3+, descriptions can be shown for each available page type
when pages are created.  This commit adds descriptions for the BlogEntry,
BlogHolder and BlogTree classes, as derived from comments within the code.
This commit is contained in:
Ian Walls 2012-09-21 11:39:31 -04:00
parent 795f1a6a21
commit 13b10c6331
3 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,8 @@ class BlogEntry extends Page {
static $can_be_root = false;
static $icon = "blog/images/blogpage-file.png";
static $description = "An individual blog entry";
static $has_one = array();

View File

@ -14,6 +14,8 @@
class BlogHolder extends BlogTree implements PermissionProvider {
static $icon = "blog/images/blogholder-file.png";
static $description = "Displays Blog Entries";
static $db = array(
'TrackBacksEnabled' => 'Boolean',
'AllowCustomAuthors' => 'Boolean',

View File

@ -12,6 +12,8 @@
class BlogTree extends Page {
static $icon = "blog/images/blogtree-file.png";
static $description = "A grouping of blogs";
// Default number of blog entries to show
static $default_entries_limit = 10;