nglasl\mediawesome\MediaHolder
Displays media holder/page children, with optional date/tag filters.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class MediaHolder
extends Page
{
- // members
- private static string $table_name = 'MediaHolder';
- private static array $db = ;
- private static array $has_one = ;
- private static array $allowed_children = ;
- private static $default_child = MediaPage::class;
- private static string $description = '<strong>Holds:</strong> Blogs, Events, News, Publications <strong>or Custom Media</strong>';
- private static string $icon = 'nglasl/silverstripe-mediawesome: client/images/holder.png';
- // methods
- public void getCMSFields()
- public void onBeforeWrite()
- public void getMediaHolderChildren()
- public void getMediaPageChildren()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $db
- $default_child
- $description
- $has_one
- $icon
- $table_name
Methods
public
- getCMSFields()
- getMediaHolderChildren() — Retrieve any `MediaHolder` children of this `MediaHolder`.
- getMediaPageChildren() — Retrieve any `MediaPage` children of this `MediaHolder`.
- onBeforeWrite()