\MetadataTextField
Synopsis
class MetadataTextField
extends MetadataField
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- protected $processedRecord;
- // methods
- public void getFieldTitle()
- public void getCMSFields()
- public TextField|TextareaField getFormField()
- public void processBeforeWrite()
- public void replaceMemberKeyword()
- // Inherited methods from MetadataField
- public void getCMSFields()
- public string getFieldTitle()
- public FormField getFormField()
- public mixed processBeforeWrite()
- public mixed process()
- public void replaceKeyword()
- public void validateValue()
- public string getFormFieldName()
- public string getTitle()
- public void getValidator()
- public void validate()
- public string Type()
- public void onBeforeWrite()
Hierarchy
Extends
Members
private
- $db
- $defaults
protected
- $processedRecord
Methods
public
Inherited from MetadataField
public
- Type()
- getCMSFields()
- getFieldTitle() — Returns the title that describes the field type.
- getFormField() — Returns a form field instance allowing the user to input a metadata value.
- getFormFieldName() — Returns the form field name to use for the metadata field.
- getTitle()
- getValidator()
- onBeforeWrite()
- process() — Processes a field value, and returns the output that should be rendered into a template.
- processBeforeWrite() — Processes a field value before it is saved to the database, and returns the value.
- replaceKeyword()
- validate()
- validateValue() — Checks if a certain field value is valid.