TableTransformation
class TableTransformation extends ArrayObject implements TableDataInterface, StringTransformationInterface, OriginalDataInterface (View source)
Constants
TABLE_LAYOUT |
|
LIST_LAYOUT |
|
Properties
protected | $headers | ||
protected | $rowLabels | ||
protected | $layout | ||
protected MetadataHolderInterface | $originalData |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Return the original data for this table. Used by any formatter that expects an array.
Convert structured data into a form suitable for use by the table formatter.
No description
No description
Details
__construct($data, $fieldLabels, $rowLabels = [])
No description
setLayout($layout)
No description
getLayout()
No description
isList()
No description
simplifyToString(FormatterOptions $options)
No description
static protected
transformRows($data, $fieldLabels)
No description
static protected
transformRow($row, $fieldLabels)
No description
getHeaders()
No description
getHeader($key)
No description
getRowLabels()
No description
getRowLabel($rowid)
No description
getOriginalData()
Return the original data for this table. Used by any formatter that expects an array.
setOriginalData(MetadataHolderInterface $data)
No description
array
getTableData(bool $includeRowKey = false)
Convert structured data into a form suitable for use by the table formatter.
protected
convertTableToList()
No description
protected
getRowDataWithKey($data)
No description