TranslatedText
class TranslatedText implements FieldType, JsonSerializable (View source)
Properties
protected Collection | $value |
Methods
__construct(Collection $value = null)
Create a new instance of TranslatedText field type.
mixed
jsonSerialize()
Serialize the class.
mixed
getValue()
Return the value of this field.
void
setValue(mixed $value)
Set the value of this field.
string
getLabel()
Return the display label for the field type.
string
getSettingsView()
Return the reference to the view used in the settings.
string
getView()
Return the view used in editing.
array
getConfig()
Return the config for the field type.
Details
__construct(Collection $value = null)
Create a new instance of TranslatedText field type.
mixed
jsonSerialize()
Serialize the class.
mixed
getValue()
Return the value of this field.
void
setValue(mixed $value)
Set the value of this field.
string
getLabel()
Return the display label for the field type.
string
getSettingsView()
Return the reference to the view used in the settings.
string
getView()
Return the view used in editing.
array
getConfig()
Return the config for the field type.