Network health widget. More...
Public Member Functions | |
__construct (Widget_Model $model) | |
Constructs a new network health widget. | |
get_metadata () | |
Return the default friendly name for the widget type. | |
options () | |
Return the list of options to use in this widget. | |
index () | |
Print the widget contents here. | |
Protected Attributes | |
$duplicatable = true | |
Whether the widget can be copied. |
Network health widget.
Netw_health_Widget::__construct | ( | Widget_Model $ | model | ) |
Constructs a new network health widget.
$model | Widget_Model |
Reimplemented from widget_Base.
Netw_health_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.
Netw_health_Widget::index | ( | ) |
Print the widget contents here.
Concrete widgets typically want to override this.
Reimplemented from widget_Base.
Netw_health_Widget::options | ( | ) |
Return the list of options to use in this widget.
This should be an array of option instances, or - if you want to do more manual work - strings.
Actual widgets typically want to extend this method.
Reimplemented from widget_Base.
Netw_health_Widget::$duplicatable = true [protected] |
Whether the widget can be copied.
Setting this to true requires testing, so default to the more backwards compatible mode
Reimplemented from widget_Base.