TractorCow\Fluent\Extension\FluentLeftAndMainExtension
Synopsis
class FluentLeftAndMainExtension
extends Extension
{
- // methods
- public void init()
- public void updateBreadcrumbs()
- public HTTPResponse|string|DBHTMLText actionComplete()
- // Inherited methods from FluentAdminTrait
- public abstract HTTPResponse|string|DBHTMLText actionComplete()
- protected void updateFluentActions()
- public mixed clearFluent()
- public mixed copyFluent()
- public mixed unpublishFluent()
- public mixed archiveFluent()
- public mixed deleteFluent()
- public mixed publishFluent()
- public mixed showFluent()
- public mixed hideFluent()
- protected void inEveryLocale()
- protected void inEveryStage()
- protected void updateSaveAction()
- protected void updateDeleteAction()
- // Inherited methods from FluentBadgeTrait
- protected DBField|null addFluentBadge()
- public DBField|null getBadge()
- protected string generateBadgeHTML()
Hierarchy
Extends
- SilverStripe\Core\Extension
Uses
Methods
public
Inherited from TractorCow\Fluent\Extension\Traits\FluentAdminTrait
protected
- inEveryLocale() — Do an action in every locale
- inEveryStage() — Do an action in every stage (Live first)
- updateDeleteAction() — Update delete action based on localisation state valid states: - localised more than one locale (unlocalise label) - localised in one locale (delete label) - not localised (remove the action)
- updateFluentActions() — Decorate actions with fluent-specific details
- updateSaveAction() — Update save action based on localisation state valid states: - localised (localise label) - not localised (save label)
public
- actionComplete()
- archiveFluent() — Archives the current object from all locales (versioned)
- clearFluent()
- copyFluent() — Copy this record to other localisations (not published)
- deleteFluent() — Delete the current object from all locales (non-versioned)
- hideFluent()
- publishFluent()
- showFluent()
- unpublishFluent() — Unpublishes the current object from all locales
Inherited from TractorCow\Fluent\Extension\Traits\FluentBadgeTrait
protected
- addFluentBadge() — Add the Fluent state badge before any existing badges and return the result
- generateBadgeHTML()
public
- getBadge() — Given a record with Fluent enabled, return a badge that represents the state of it in the current locale