gridstat_Widget Class Reference

ORM gridstat widget. More...

Inheritance diagram for gridstat_Widget:
widget_Base Tac_problems_Widget Tac_scheduled_Widget

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.

Detailed Description

ORM gridstat widget.

Author:
op5 AB

Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1