\HomePage
HomePage Model
Class to define model for Scout District specific website
- Author: Matt Cockayne <matt@zucchi.co.uk>
Synopsis
class HomePage
extends Page
{
- // members
- private static boolean $can_create = false;
- private static string $description = 'Scout District Homepage';
- private static string $singular_name = 'Homepage';
- private static string $plural_name = 'Homepages';
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public FieldSet getCMSFields()
- public void requireDefaultRecords()
Hierarchy
Extends
- Page
Members
private
- $can_create
- $db
- $description
- $has_one
- $plural_name
- $singular_name
Methods
public
- getCMSFields() — Returns a FieldSet with which to create the CMS editing form.
- requireDefaultRecords()