\JSPlumbField
Synopsis
class JSPlumbField
extends FormField
{
- // members
- private static array $url_handlers = ;
- private static array $allowed_actions = ;
- protected $list;
- protected $editLinkPattern;
- protected string $posLeftField = 'PosLeft';
- protected string $posTopField = 'PosTop';
- protected string $labelField = 'Name';
- protected string $linksOutRelation = 'LinksOut';
- protected string $linksOutIDField = 'ID';
- // methods
- public void FieldHolder()
- public void setList()
- public void getList()
- public void setPositionFields()
- public void setLabelField()
- public void setEditLinkPattern()
- public void getEditLinkPattern()
- public void setLinksOutRelation()
- public void getLinksOutRelation()
- public void getLinksOutIDField()
- public void Nodes()
- public void setPosition()
- public void addLink()
- public void removeLink()
Hierarchy
Extends
- SilverStripe\Forms\FormField
Members
private
- $allowed_actions
- $url_handlers
protected
- $editLinkPattern
- $labelField
- $linksOutIDField
- $linksOutRelation
- $list
- $posLeftField
- $posTopField
Methods
public
- FieldHolder()
- Nodes()
- addLink()
- getEditLinkPattern()
- getLinksOutIDField()
- getLinksOutRelation()
- getList()
- removeLink()
- setEditLinkPattern() — Set a string from which edit links will be fromed.
- setLabelField() — Set the names of the field used to store node label
- setLinksOutRelation() — Set the name of a relation on each node that will point to the list of nodes for which there are outbound links. Defaults to "LinksOut"
- setList() — Set a DataList of nodes for this this JSPlumbField to operate on
- setPosition()
- setPositionFields() — Set the names of the fields used to store node positions