\NewsPage
Synopsis
class NewsPage
extends Page
{
- // members
- public static string $default_parent = 'NewsHolderPage';
- public static boolean $can_be_root = false;
- public static string $icon = "silverstripe-gdm-express/assets/images/sitetree_images/news.png";
- public static array $db = ;
- public static array $has_one = ;
- // methods
- public void populateDefaults()
- public void getCMSFields()
Hierarchy
Extends
- Page
Members
public
- $can_be_root
- $db
- $default_parent
- $has_one
- $icon
Methods
public
- getCMSFields()
- populateDefaults() — Add the default for the Date being the current day.