PropertyListTableTransformation
class PropertyListTableTransformation extends TableTransformation (View source)
Constants
TABLE_LAYOUT |
|
LIST_LAYOUT |
|
Properties
protected | $headers | from TableTransformation | |
protected | $rowLabels | from TableTransformation | |
protected | $layout | from TableTransformation | |
protected MetadataHolderInterface | $originalData | from TableTransformation |
Methods
getOriginalData()
Return the original data for this table. Used by any formatter that expects an array.
array
getTableData(bool $includeRowKey = false)
Convert structured data into a form suitable for use by the table formatter.
from
TableTransformation
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