DATA_PREFIX
DATA_PREFIX
Displays a list of filters, collected from Fuman_InputType.
$_table : \Fuman_Table
$_preference : \app_core_component_filter_preference
$_filterSet : \app_core_component_filter_filterset
__construct(string $id, \Fuman_Table $table, \Fuman_Db_Where $where, boolean $build = true, \stdClass|object|null $options = null) : \Fuman_Response_Data
Constructor, generates the inputtype filters from the request or create a default one
string | $id | id for the html container |
\Fuman_Table | $table | |
\Fuman_Db_Where | $where | |
boolean | $build | default true, if it is set to false, it modifies only the Fuman_Db_RecordSetMeta $meta (used in ajax requests etc) |
\stdClass|object|null | $options |
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 |
createInstance(string $id, \Fuman_Table $table, \Fuman_Db_Where $where, boolean $build = true) : \app_core_component_filter
Create instance
string | $id | |
\Fuman_Table | $table | |
\Fuman_Db_Where | $where | |
boolean | $build |
createListInstance(\Fuman_Table $table, \Fuman_Db_Where $where, boolean $build = true) : \app_core_component_filter
Create list instance
\Fuman_Table | $table | |
\Fuman_Db_Where | $where | |
boolean | $build |
addToolbarIcon( $title, \app_core_component_filter $filterComponent)
Adds toolbar icon for filter component
$title | ||
\app_core_component_filter | $filterComponent |
getTable() : \Fuman_Table
Gets table