NSWDPC\Elemental\Models\Curator\ElementCuratorFeedWidget
Provides a Curator Widget Element Editors provide a Curator Feed ID and Container ID of a published feed Feed curation occurs in the Curator.io administration area
- Author: James Ellis
Synopsis
class ElementCuratorFeedWidget
extends BaseElement
{
- // members
- private static string $table_name = 'ElementCuratorFeedWidget';
- private static string $icon = 'font-icon-block-carousel';
- private static boolean $inline_editable = true;
- private static string $singular_name = 'Curator.io feed widget';
- private static string $plural_name = 'Curator.io feed widgets';
- private static string $title = 'Curator.io feed widget';
- private static string $description = 'Display a published feed from Curator.io';
- private boolean $_cache_is_rendered = false;
- private static boolean $include_powered_by = true;
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public string getType()
- public string getAnchorTitle()
- public void forTemplate()
- public Fieldlist getCMSFields()
Hierarchy
Extends
- DNADesign\Elemental\Models\BaseElement
Members
private
- $_cache_is_rendered
-
$db
These values are deprecated and will be removed in a later update CuratorFeed::requireDefaultRecords migrates them to CuratorFeed records - $description
- $has_one
- $icon
- $include_powered_by
—
boolean
If you have a free Curator.io account this message must be included - $inline_editable
- $plural_name
- $singular_name
- $table_name
- $title
Methods
public
- forTemplate() — Render with the Curator Feed record
- getAnchorTitle() — Return a nicer anchor title
- getCMSFields() — Apply edit fields for the element administration area
- getType() — Elemental Type value