Stud.IP  5.4
EvaluationsWidget Class Reference
Inheritance diagram for EvaluationsWidget:
CorePlugin PortalPlugin

Public Member Functions

 getPluginName ()
 
 getMetadata ()
 
 getPortalTemplate ()
 
- Public Member Functions inherited from CorePlugin
 __construct ()
 
 getPluginId ()
 
 isEnabled ()
 
 getPluginName ()
 
 getPluginURL ()
 
 getPluginVersion ()
 
 getPluginDescription ()
 
 getDescriptionMode ()
 
 isHighlighted ()
 
 getHighlightText ()
 
 isCorePlugin ()
 
 isActivated ($context=null)
 
 isActivatableForContext (Range $context)
 

Additional Inherited Members

- Static Public Member Functions inherited from CorePlugin
static onEnable ($plugin_id)
 
static onDisable ($plugin_id)
 
static onActivation ($plugin_id, $range_id)
 
static onDeactivation ($plugin_id, $range_id)
 
static checkActivation ($range_id)
 
- Protected Attributes inherited from CorePlugin
 $plugin_info
 

Member Function Documentation

◆ getMetadata()

getMetadata ( )

◆ getPluginName()

getPluginName ( )

◆ getPortalTemplate()

getPortalTemplate ( )

Returns the portal widget template.

Due to a seriously messed up architecture, the suppress_empty_output variable is used to determine when an according message should be presented to the user. If no evaluations and questionnaires are present, the message from the questionnaires should be displayed. The according message from evaluations should never be shown in the widget. Thus, the evaluation controller will always suppress this message and the variable is adjusted if the evaluation returned no content so that the questionnaire controller will display it's message. If you think, we're slowly running out of duct tape, you might be absolutely right...

Implements PortalPlugin.


The documentation for this class was generated from the following file: