Firebrand\Hail\Lists\HailList
HailList stores a configuration to retrieve a list of hail objects
Is linked to HailPages but could be used in other pages
- Author: Marc Espiard, Firebrand
Synopsis
class HailList
extends DataObject
{
- // members
- private static string $table_name = "HailList";
- private static array $db = ;
- private static array $has_many = ;
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- public array getFieldsForHasOne()
- public array getOrganisations()
- public array getPrivateTagsList()
- public array getPublicTagsList()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_many
- $summary_fields
- $table_name
Methods
public
- getCMSFields()
- getFieldsForHasOne() — Get the CMS fields for this object to display in a Page when there is a has one relation between the page and this object Allows you to display the Has One fields inline instead of in a gridfield Writing to the database is handled by {@link Firebrand\Hail\DataObjectExtension} Fields names have to follow the [RELATION][SEPARATOR][FIELDNAME] syntax
- getOrganisations() — Get currently configured Hail Organisations
- getPrivateTagsList() — Get currently available Hail Private Tags
- getPublicTagsList() — Get currently available Hail Public Tags