NSWDPC\InlineLinker\InlineLinkField_Readonly
Readonly variation for inlinelinkfield
Synopsis
class InlineLinkField_Readonly
extends ReadonlyField
{
- // members
- protected bool $readonly = true;
- protected bool $disabled = true;
- protected null|Link $linkRecord = NULL;
- // methods
- public void setRecord()
- public null|Link getRecord()
- public string Value()
- public string getValueCast()
Hierarchy
Extends
- SilverStripe\Forms\ReadonlyField
Members
protected
- $disabled — NSWDPC\InlineLinker\bool
- $linkRecord — NSWDPC\InlineLinker\null|Link
- $readonly — NSWDPC\InlineLinker\bool
Methods
public
- Value() — Return the value of this field, which is the link URL and the link type
- getRecord() — Get the link record
- getValueCast()
- setRecord() — Set the link record