\ExternalDataFormScaffolder
Synopsis
class ExternalDataFormScaffolder
extends Object
{
- // members
- protected DataObject $obj;
- public boolean $tabbed = false;
- public boolean $ajaxSafe = false;
- public $restrictFields;
- public $fieldClasses;
- public boolean $includeRelations = false;
- // methods
- public void __construct()
- public FieldList getFieldList()
- protected array getParamsArray()
Hierarchy
Extends
- Object
Tasks
Line | Task |
---|---|
+ | Implement restrictions for has_many and many_many relations. |
+ | Implement fieldClasses for has_many and many_many relations |
Members
protected
- $obj — DataObject
public
- $ajaxSafe — boolean
- $fieldClasses — array
- $includeRelations — boolean
- $restrictFields — array
- $tabbed — boolean
Methods
protected
- getParamsArray() — Return an array suitable for passing on to {@link DBField->scaffoldFormField()} without tying this call to a FormScaffolder interface.
public
- __construct()
- getFieldList() — Gets the form fields as defined through the metadata on {@link $obj} and the custom parameters passed to FormScaffolder.