MyMissionsForPortletView Class Reference

Inheritance diagram for MyMissionsForPortletView:
ConfigurableMetadataView PortletViewInterface MetadataView View

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 getPortletParams ()
 renderPortletHeadContent ()
 getTitle ()
 renderContent ()

Static Public Member Functions

static getDefaultMetadata ()
static getPortletDescription ()
static canUserConfigure ()
static getPortletRulesType ()
static getModuleClassName ()

Protected Member Functions

 renderMissionsContent ()
 makeMissionsConfigurationForm ()
 getPortletDetailsUrl ()
 getNonAjaxRedirectUrl ()
 getDataProvider ($uniquePageId, MissionsListConfigurationForm $form)

Protected Attributes


Detailed Description

Wrapper view for displaying the user's missions on the dashboard

Definition at line 40 of file MyMissionsForPortletView.php.

Constructor & Destructor Documentation

__construct ( viewData,

Some extra assertions are made to ensure this view is used in a way that it supports.

array $viewData
array $params
string $uniqueLayoutId

Definition at line 64 of file MyMissionsForPortletView.php.

Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Definition at line 85 of file MyMissionsForPortletView.php.

static getPortletDescription (  )  [static]

Override to add a description for the view to be shown when adding a portlet

Implements PortletViewInterface.

Definition at line 98 of file MyMissionsForPortletView.php.

getTitle (  ) 


Reimplemented from ConfigurableMetadataView.

Definition at line 102 of file MyMissionsForPortletView.php.

renderContent (  ) 

Renders the view content.

Reimplemented from View.

Definition at line 108 of file MyMissionsForPortletView.php.

getPortletDetailsUrl (  )  [protected]

After a portlet action is completed, the portlet must be refreshed. This is the url to correctly refresh the portlet content.

Definition at line 144 of file MyMissionsForPortletView.php.

getNonAjaxRedirectUrl (  )  [protected]

Url to go to after an action is completed. Typically returns user to either a model's detail view or the home page dashboard.

Definition at line 156 of file MyMissionsForPortletView.php.

getDataProvider ( uniquePageId,
MissionsListConfigurationForm form 
) [protected]
string $uniquePageId
MissionsListConfigurationForm $form

Definition at line 166 of file MyMissionsForPortletView.php.

static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows

PortletRulesType as string.

Implements PortletViewInterface.

Definition at line 184 of file MyMissionsForPortletView.php.

static getModuleClassName (  )  [static]

The view's module class name.

Implements PortletViewInterface.

Definition at line 192 of file MyMissionsForPortletView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 20 07:10:58 2020