\FlowState
Represents one item on a {@link FlowchartPage} flowchart diagram
Synopsis
class FlowState
extends DataObject
implements
PermissionProvider
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Number';
- private static array $indexes = ;
- private static array $create_table_options = ;
- // methods
- public array getCurrentDisplayFields()
- public string getParentName()
- public FieldList getCMSFields()
- public string getTitle()
- public void canCreate()
- public void canEdit()
- public void canDelete()
- public void canView()
- public array providePermissions()
- public string Link()
- protected string getSearchableFields()
- public void getSearchResults()
- public SearchContext getCustomSearchContext()
Hierarchy
Extends
- DataObject
Implements
- PermissionProvider
Tasks
Line | Task |
---|---|
227+ | make this actually search |
Members
private
- $create_table_options
- $db — array
- $default_sort — string
- $has_one — array
- $indexes — string
- $searchable_fields — array
- $summary_fields — array
Methods
protected
- getSearchableFields() — Returns a comma separated string of field names that are searchable {@link getSearchResults()}
public
- Link() — Get a link to the parent flowchart page.
- canCreate()
- canDelete()
- canEdit()
- canView()
- getCMSFields() — Returns the {@Link FieldList} of cms form fields for editing this object
- getCurrentDisplayFields() — Returns an array of the field names for displaying FlowStates in an admin gridflield summary view
- getCustomSearchContext() — Returns a custom SearchContext that matches search queries with filters on the searchable fields in this object
- getParentName() — Get the name of the {@link FlowchartPage} parent page
- getSearchResults() — Returns the FlowState objects that match the search query, using a boolean mode fulltext search
- getTitle() — Get the Title of the FlowState
- providePermissions() — Get an array of {@link Permission} definitions that this object supports