Ardillo\TableModelHandler
On this page
Description
Ardillo base TableModelHandler class.
Properties
TableModelHandler::$app
Associated App instance
- type:
App
Methods
TableModelHandler::isValid()
Returns whether the table model handler is valid or not
Returns bool
TableModelHandler::cellValueHandler(TableModel $m, int $row, int $column)
Method invoked to get the value of a cell
TableModel $m: The table modelint $row: The row indexint $column: The column index
Returns TableValue
TableModelHandler::columnTypeHandler(TableModel $m, int $column)
Method invoked to get the type of a column
TableModel $m: The table modelint $column: The column index
Returns int
TableModelHandler::numColumnsHandler(TableModel $m)
Method invoked to get the number of columns
TableModel $m: The table model
Returns int
TableModelHandler::numRowsHandler(TableModel $m)
Method invoked to get the number of rows
TableModel $m: The table model
Returns int
TableModelHandler::setCellValueHandler(TableModel $m, int $row, int $column, TableValue $value)
Method invoked to set the value of a cell (as updated by the user)
TableModel $m: The table modelint $row: The row indexint $column: The column indexTableValue $value: New table cell value