\DatedUpdatePage
An abstract base class for {@link NewsPage} pages.
This code is forked from https://gitlab.cwp.govt.nz/cwp/cwp (16/Jul/2014)
- Author: scienceninjas@silverstripe.com
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class DatedUpdatePage
extends Page
{
- // members
- private static string $hide_ancestor = 'DatedUpdatePage';
- private static array $defaults = ;
- private static array $db = ;
- private static array $summary_fields = ;
- // methods
- public array summaryFields()
- public void populateDefaults()
- public array|string fieldLabels()
- public FieldList getCMSFields()
Hierarchy
Extends
- Page
Members
private
- $db — array
- $defaults — array
- $hide_ancestor — string
- $summary_fields — array
Methods
public
- fieldLabels()
- getCMSFields()
- populateDefaults() — Add the default for the Date being the current day.
- summaryFields()