Moo\HasOneSelector\ORM\DataList
Class DataList is data list to manage add/remove managed object from the HasOneSelectorField class.
Synopsis
class DataList
extends DataList
{
- // members
- protected $gridField = NULL;
- // methods
- public void __construct()
- public void add()
- public void remove()
Hierarchy
Extends
- SilverStripe\ORM\DataList
Members
protected
- $gridField
Methods
public
- __construct() — HasOneSelectorDataList constructor.
- add() — Set the current selected record into the has one relation.
- remove() — Clear the record within the has one relation.