\DMSDocumentAddExistingField
Synopsis
class DMSDocumentAddExistingField
extends CompositeField
{
- // members
- public boolean $useFieldContext = true;
- // methods
- public void __construct()
- public void setRecord()
- public DataObject getRecord()
- public void FieldHolder()
- public void Field()
- public $this setUseFieldClass()
Hierarchy
Extends
- CompositeField
Members
public
- $useFieldContext
Methods
public
- __construct()
- Field()
- FieldHolder()
- getRecord() — Get the record to use as "Parent" for uploaded Files (eg a Page with a has_one to File) If none is set, it will use Form->getRecord() or Form->Controller()->data()
- setRecord() — Force a record to be used as "Parent" for uploaded Files (eg a Page with a has_one to File)
- setUseFieldClass() — Sets or unsets the use of the "field" class in the template. The "field" class adds Javascript behaviour that causes unwelcome hiding side-effects when this Field is used within the link editor pop-up