MulticolumnTextExportableAttributeInterface
interface MulticolumnTextExportableAttributeInterface (View source)
Attribute controllers should implement this interface if they support importing/exporting to/from multiple plain text fields.
For simple data see SimpleTextExportableAttributeInterface
Methods
Get the handles of the columns that will contain parts of attribute values.
Get the strings containing the text representation of the attribute value currently set in the controller.
Update or create the attribute value starting from its text representation.
Details
string[]
getAttributeTextRepresentationHeaders()
Get the handles of the columns that will contain parts of attribute values.
The result must be independent of the specific attribute value instance.
string[]
getAttributeValueTextRepresentation()
Get the strings containing the text representation of the attribute value currently set in the controller.
AbstractValue|null
updateAttributeValueFromTextRepresentation(array $textRepresentation, ErrorList $warnings)
Update or create the attribute value starting from its text representation.