\Blog
Blog Holder
- Author: Michael Strong <github@michaelstrong.co.uk>
Synopsis
class Blog
extends Page
{
- // members
- private static array $db = ;
- private static array $has_many = ;
- private static array $allowed_children = ;
- private static array $extensions = ;
- private static array $defaults = ;
- private static string $description = 'Adds a blog to your website.';
- // methods
- public void getCMSFields()
- public void getSettingsFields()
- public DataList getBlogPosts()
- public DataList getArchivedBlogPosts()
- public string getLumberjackTitle()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $db
- $defaults
- $description
- $extensions
- $has_many
Methods
public
- getArchivedBlogPosts() — Returns blogs posts for a given date period.
- getBlogPosts() — Return blog posts
- getCMSFields()
- getLumberjackTitle() — This sets the title for our gridfield
- getSettingsFields()