\FusionTag
Tags that consolidate existing and configuration defined tag types.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class FusionTag
extends DataObject
{
- // members
- private static array $db = ;
- private static string $default_sort = 'Title';
- private static array $dependencies = ;
- // methods
- public void requireDefaultRecords()
- public void canDelete()
- public void getCMSFields()
- public void validate()
- public void onBeforeWrite()
- public void onAfterWrite()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $dependencies
Methods
public
- canDelete() — Restrict access when deleting fusion tags.
- getCMSFields() — Display the appropriate fusion tag fields.
- onAfterWrite() — Update the existing and configuration defined tag types to reflect the change.
- onBeforeWrite() — Update the tag types with a serialised representation.
- requireDefaultRecords() — The process to automatically consolidate existing and configuration defined tag types, executed on project build.
- validate() — Confirm that the fusion tag has been given a title and doesn't already exist.