mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
MINOR: added empty statics to blog
This commit is contained in:
parent
c18af6c473
commit
32f4579718
@ -6,9 +6,17 @@
|
||||
* @package blog
|
||||
*/
|
||||
class ArchiveWidget extends Widget {
|
||||
|
||||
static $db = array(
|
||||
'DisplayMode' => 'Varchar'
|
||||
);
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array(
|
||||
'DisplayMode' => 'month'
|
||||
|
@ -18,14 +18,13 @@ class BlogEntry extends Page {
|
||||
"Tags" => "Text"
|
||||
);
|
||||
|
||||
static $has_one = array(
|
||||
);
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array(
|
||||
);
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array(
|
||||
);
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array(
|
||||
"ProvideComments" => true,
|
||||
|
@ -22,11 +22,13 @@ class BlogHolder extends Page {
|
||||
"SideBar" => "WidgetArea"
|
||||
);
|
||||
|
||||
static $has_many = array(
|
||||
);
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array(
|
||||
);
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array();
|
||||
|
||||
static $allowed_children = array(
|
||||
'BlogEntry'
|
||||
|
@ -1,8 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Blog Management Widget
|
||||
* @package blog
|
||||
*/
|
||||
class BlogManagementWidget extends Widget {
|
||||
|
||||
static $db = array();
|
||||
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array();
|
||||
|
||||
static $title = "Blog Management";
|
||||
static $cmsTitle = "Blog Management";
|
||||
static $description = "Provide a number of links useful for administering a blog. Only shown if the user is an admin.";
|
||||
|
@ -6,6 +6,13 @@ class RSSWidget extends Widget {
|
||||
"RssUrl" => "Text",
|
||||
"NumberToShow" => "Int"
|
||||
);
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array(
|
||||
"NumberToShow" => 10,
|
||||
|
@ -7,6 +7,14 @@ class TagCloudWidget extends Widget {
|
||||
"Sortby" => "Varchar"
|
||||
);
|
||||
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array();
|
||||
|
||||
static $defaults = array(
|
||||
"Title" => "Tag Cloud",
|
||||
"Limit" => "0",
|
||||
|
@ -11,6 +11,12 @@ class TrackBackPing extends DataObject {
|
||||
static $has_one = array(
|
||||
'Page' => 'Page'
|
||||
);
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $belongs_many_many = array()
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user