Public Member Functions | |
__construct ($widget_model) | |
Constructor. | |
get_metadata () | |
Return the default friendly name for the widget type. | |
set_fixed () | |
Disable everything configurable. | |
options () | |
Load the options for this widget. | |
index () | |
Fetch the data and show the widget. | |
Protected Attributes | |
$duplicatable = true | |
Set if this widget is duplicatable. | |
$settings = false | |
An array containing the settings for this widget; which filters to use. |
ORM gridstat widget.
gridstat_Widget::__construct | ( | $ | widget_model | ) |
Constructor.
This should be overloaded, to upadte the settings-attribute when making a custom widget of this type
Reimplemented in Tac_problems_Widget, and Tac_scheduled_Widget.
gridstat_Widget::get_metadata | ( | ) |
Return the default friendly name for the widget type.
default to the model name, but should be overridden by widgets.
Reimplemented from widget_Base.
Reimplemented in Tac_problems_Widget, and Tac_scheduled_Widget.
gridstat_Widget::set_fixed | ( | ) |
Disable everything configurable.
This is useful when including the widget with generetated parameters from a controller.