XD\Narrowcasting\Models\Display
Class Display
Synopsis
class Display
extends DataObject
{
- // members
- private static string $table_name = 'Narrowcasting_Display';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $indexes = ;
- private static array $summary_fields = ;
- private static array $kiosk_config = ;
- // methods
- public void getCMSFields()
- public void populateDefaults()
- public Presentation|null getActivePresentation()
- public string getActivePresentationSummary()
- public ArrayList getKioskConfig()
- public void Link()
- public void AbsoluteLink()
- public void getKioskConfigLink()
- public void onAfterWrite()
- private void createSchedule()
- public static Display register()
- public bool canCreate()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Tasks
Line | Task |
---|---|
190 | merge with global settings, e.g. wallpaper |
Members
private
- $db
- $has_many
- $has_one
- $indexes
- $kiosk_config
- $summary_fields
- $table_name
Methods
private
- createSchedule() — Set up the displays presentation schedule
public
- AbsoluteLink()
- Link()
- canCreate() — Displays can only be created by the system
- getActivePresentation()
- getActivePresentationSummary() — Returns a summary for a active presentation
- getCMSFields()
- getKioskConfig() — Get the config for this display For config options
- getKioskConfigLink()
- onAfterWrite()
- populateDefaults()
- register() — Register a device with the given mac address