DefineableMarkupID
extends DataExtension
in package
Add sitetree type to link field
Table of Contents
Properties
- $db : array<string|int, mixed>
- Database fields
Methods
- onBeforeWrite() : mixed
- Event handler called before writing to the database.
- updateCMSFields() : FieldList
- Update Fields
- updateIDValue() : mixed
- Renders an HTML ID attribute for this link
Properties
$db
Database fields
private
static array<string|int, mixed>
$db
= ['IDCustomValue' => 'Text']
Methods
onBeforeWrite()
Event handler called before writing to the database.
public
onBeforeWrite() : mixed
updateCMSFields()
Update Fields
public
updateCMSFields(FieldList $fields) : FieldList
Parameters
- $fields : FieldList
Return values
FieldListupdateIDValue()
Renders an HTML ID attribute for this link
public
updateIDValue(mixed &$id) : mixed
Parameters
- $id : mixed