WebbuildersGroup\FluentWorkflow\DataLists\FluentWorkflowDefinitionList
Synopsis
class FluentWorkflowDefinitionList
extends ManyManyList
{
- // constants
- const LOCALE_FILTER_EXPRESSION = '"%s"."JunctionLocale" = ? ';
- // members
- protected $filterLocale;
- protected boolean $localeFilterEnabled = true;
- // methods
- public void __construct()
- public FluentManyManyList setLocaleFilterEnabled()
- public FluentManyManyList setLocale()
- public void add()
- public void removeByID()
- public void removeAll()
Hierarchy
Extends
- SilverStripe\ORM\ManyManyList
Constants
Name | Value |
---|---|
LOCALE_FILTER_EXPRESSION | '"%s"."JunctionLocale" = ? ' |
Members
protected
- $filterLocale
- $localeFilterEnabled
Methods
public
- __construct() — Create a new FluentManyManyList object.
- add() — Add an item to this many_many relationship, does so by adding an entry to the joinTable.
- removeAll() — Remove all items from this many-many join. To remove a subset of items, filter it first.
- removeByID() — Remove the given item from this list. Note that for a ManyManyList, the item is never actually deleted, only the join table is affected
- setLocale() — Sets the locale used in the list
- setLocaleFilterEnabled() — Enables or disagbles the locale filtering of the list