SimpleTextExportableAttributeInterface
interface SimpleTextExportableAttributeInterface (View source)
Attribute controllers should implement this interface if they support importing/exporting to/from plain text.
For complex data see MulticolumnTextExportableAttributeInterface
Methods
string
getAttributeValueTextRepresentation()
Get a string containing the text representation of the attribute value currently set in the controller.
AbstractValue|null
updateAttributeValueFromTextRepresentation(string $textRepresentation, ErrorList $warnings)
Update or create the attribute value starting from its text representation.
Details
string
getAttributeValueTextRepresentation()
Get a string containing the text representation of the attribute value currently set in the controller.
AbstractValue|null
updateAttributeValueFromTextRepresentation(string $textRepresentation, ErrorList $warnings)
Update or create the attribute value starting from its text representation.