\NewsGridPage
Synopsis
class NewsGridPage
extends GridFieldPage
{
- // members
- private static string $singular_name = 'NewsItem';
- private static string $plural_name = 'NewsItems';
- private static string $description = 'Create a news item';
- private static boolean $can_be_root = false;
- private static string $hide_ancestor = 'GridFieldPage';
- private static string $allowed_children = "none";
- public static string $icon = 'newsgrid/images/newsholder.png';
- public static array $db = ;
- // methods
- public void formattedPublishDate()
- public void populateDefaults()
- public void getCMSFields()
Hierarchy
Extends
- GridFieldPage
Members
private
- $allowed_children
- $can_be_root
- $description
- $hide_ancestor
- $plural_name
- $singular_name
public
- $db
- $icon