CELL_DEFAULT
CELL_DEFAULT
Default td cell
Represents the default table view of a RecordSet.
$_table : \Fuman_Table
$_recordSet : \Fuman_Db_RecordSet
$_actionDescriptors : array<mixed,\Fuman_Action_Descriptor>
$_icon : \app_core_component_icon
__construct(\Fuman_Table $table, \Fuman_Db_RecordSet $recordSet, boolean $orderable = true) : \app_core_component_table
Constructor
\Fuman_Table | $table | |
\Fuman_Db_RecordSet | $recordSet | |
boolean | $orderable |
addHeadColumn(string|\Fuman_Response_Data $text, array|null $attributes = null, null|string $uri = null, integer $colSpan, null|string $colSpanText = null) : \stdClass
Adds a column to thead.
string|\Fuman_Response_Data | $text | |
array|null | $attributes | |
null|string | $uri | |
integer | $colSpan | |
null|string | $colSpanText |
createColumn(string|\Fuman_Response_Data $text, array|null $attributes = null, string $cellType = self::CELL_DEFAULT) : \stdClass
Creates an object for a cell.
string|\Fuman_Response_Data | $text | |
array|null | $attributes | |
string | $cellType |
setAttribute(string $key, string $value, boolean $appendValue = true, string $appendSpacer = ' ') : void
Sets an attribute. If $appendValue is true, the value is going to be appended with the $appendSpacer argument.
string | $key | |
string | $value | |
boolean | $appendValue | |
string | $appendSpacer |
addCssFile(string $path, string $media = 'all', string|null $packageName = null) : \Fuman_Response_Data
Add a CSS file
string | $path | |
string | $media | |
string|null | $packageName | Used for pack.php |
addJsFile(string $path, integer $javaScriptLoadType, string|null $packageName = null) : \Fuman_Response_Data
Add a Js file
string | $path | |
integer | $javaScriptLoadType | |
string|null | $packageName | Used for pack.php |
setTemplatePath(string $templatePath) : \Fuman_Response_Data
Sets script path
string | $templatePath |
setTable(\Fuman_Table $table) : void
Set Fuman_Table
\Fuman_Table | $table |
getTable() : \Fuman_Table
set Fuman_Table
setRecordSet(\Fuman_Db_RecordSet $recordSet) : void
Set Fuman_Db_RecordSet.
\Fuman_Db_RecordSet | $recordSet |
getRecordSet() : \Fuman_Db_RecordSet
Returns Fuman_Db_RecordSet.
getIcon(\Fuman_Db_Record $record) : \app_core_component_icon
Gets icon
\Fuman_Db_Record | $record |
_recordPostAdd(\stdClass $row, \Fuman_Db_Record $record)
Record post add
\stdClass | $row | |
\Fuman_Db_Record | $record |
_allowInputTypeInList(\Fuman_InputType $inputType, boolean $first, \Fuman_Db_Record $record = null, array $columns = null) : boolean
Allow input type in list
\Fuman_InputType | $inputType | |
boolean | $first | |
\Fuman_Db_Record | $record | |
array | $columns |
_createActionIcon(\Fuman_Action_Descriptor $action, \Fuman_Db_Record $record) : \app_core_component_icon
Create action icon
\Fuman_Action_Descriptor | $action | |
\Fuman_Db_Record | $record |