CWP\CWP\PageTypes\NewsHolder
Synopsis
class NewsHolder
extends DatedUpdateHolder
{
- // members
- private static string $description = 'Container page for News Pages, provides news filtering and pagination';
- private static array $allowed_children = ;
- private static $default_child = NewsPage::class;
- private static string $update_name = 'News';
- private static $update_class = NewsPage::class;
- private static string $icon_class = 'font-icon-news';
- private static string $singular_name = 'News Holder';
- private static string $plural_name = 'News Holders';
- private static string $table_name = 'NewsHolder';
- // methods
- public static void AllUpdates()
- // Inherited methods from DatedUpdateHolder
- public void UpdateTags()
- public void Updates()
- public static void AllUpdates()
- public static void ExtractMonths()
- public void getDefaultRSSLink()
- public void getDefaultAtomLink()
- public void getSubscriptionTitle()
Hierarchy
Members
private
- $allowed_children
- $default_child
- $description
- $icon_class
- $plural_name
- $singular_name
- $table_name
- $update_class
- $update_name
Methods
public
- AllUpdates() — Find all site's news items, based on some filters.
Inherited from CWP\CWP\PageTypes\DatedUpdateHolder
public
- AllUpdates() — Find all site's updates, based on some filters.
- ExtractMonths() — Produce an ArrayList of available months out of the updates contained in the DataList.
- UpdateTags() — Find all distinct tags (TaxonomyTerms) associated with the DatedUpdatePages under this holder.
- Updates() — Wrapper to find all updates belonging to this holder, based on some filters.
- getDefaultAtomLink()
- getDefaultRSSLink()
- getSubscriptionTitle()