\FusionExtension
This extension will automatically be applied to existing and configuration defined tag types, and will help consolidate these into fusion tags.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class FusionExtension
extends DataExtension
{
- // members
- private static array $has_one = ;
- // methods
- public void canDelete()
- public void updateCMSFields()
- public void validate()
- public void onAfterWrite()
- public void onAfterDelete()
Hierarchy
Extends
- DataExtension
Members
private
- $has_one
Methods
public
- canDelete() — Restrict access when deleting tags.
- onAfterDelete() — Update the fusion tag to remove this tag type.
- onAfterWrite() — Update the fusion tag to reflect the change.
- updateCMSFields() — Hide the fusion tag.
- validate() — Confirm that the tag has been given a title and doesn't already exist.