\BlogPage
Class BlogPage
Synopsis
class BlogPage
extends Page
{
- // members
- private static string $icon = 'boilerplate/code/Modules/Blog/images/blog.png';
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- private static string $description = 'Blog content page';
- private static string $singular_name = 'Blog Post';
- private static string $plural_name = 'Blog Posts';
- private static array $summary_fields = ;
- private static string $allowed_children = 'none';
- private static bool $can_be_root = false;
- public static array $many_many_extraFields = ;
- // methods
- public Image|string getThumbnail()
- public FieldList getCMSFields()
- public $this|HTMLText index()
Hierarchy
Extends
- Page
Members
private
- $allowed_children — string
- $can_be_root — bool
- $db — array
- $defaults — array
- $description — string
- $has_one — array
- $icon — string
- $plural_name — string
- $singular_name — string
- $summary_fields — array
public
- $many_many_extraFields — array
Methods
public
- getCMSFields()
- getThumbnail() — Get the thumbnail of Image()
- index()