UpdateValueOnFieldChange implements OnFieldChangeInterface
Updates `TBE_EDITOR` value (the default action), in case a particular field has been changed.
Table of Contents
Interfaces
Properties
- $elementName : string
- $fieldName : string
- $identifier : string
- $tableName : string
Methods
- __construct() : mixed
- toArray() : array{name: string, data?: string}
- withElementName() : self
Properties
$elementName
protected
string
$elementName
$fieldName
protected
string
$fieldName
$identifier
protected
string
$identifier
$tableName
protected
string
$tableName
Methods
__construct()
public
__construct(string $tableName, string $identifier, string $fieldName, string $elementName) : mixed
Parameters
- $tableName : string
- $identifier : string
- $fieldName : string
- $elementName : string
toArray()
public
toArray() : array{name: string, data?: string}
Return values
array{name: string, data?: string}withElementName()
public
withElementName(string $elementName) : self
Parameters
- $elementName : string