AllLatestActivitiesForPortletView Class Reference

Inheritance diagram for AllLatestActivitiesForPortletView:
LatestActivitiesForPortletView ConfigurableMetadataView PortletViewInterface UserPersistentSettingsCleanupForPortletInterface RelatedPortletViewInterface MetadataView View

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 getLatestActivitiesViewClassName ()

Static Public Member Functions

static getPortletRulesType ()

Protected Member Functions

 makeLatestActivitiesConfigurationForm ()
 getPortletDetailsUrl ()
 getNonAjaxRedirectUrl ()
 getDataProvider ($uniquePageId, $form)

Static Protected Member Functions

static includeHavingRelatedItemsWhenRenderingMashableModels ()

Detailed Description

Wrapper view for displaying a feed of all latest activities on a dashboard.

Definition at line 40 of file AllLatestActivitiesForPortletView.php.


Constructor & Destructor Documentation

__construct ( viewData,
params,
uniqueLayoutId 
)

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

Parameters:
array $viewData
array $params
string $uniqueLayoutId

Reimplemented from LatestActivitiesForPortletView.

Definition at line 48 of file AllLatestActivitiesForPortletView.php.


Member Function Documentation

makeLatestActivitiesConfigurationForm (  )  [protected]

Override to default to 'mine' instead of 'all' activities. (non-PHPdoc)

See also:
LatestActivitiesForPortletView::makeLatestActivitiesConfigurationForm()

Reimplemented from LatestActivitiesForPortletView.

Definition at line 64 of file AllLatestActivitiesForPortletView.php.

getPortletDetailsUrl (  )  [protected]

Override to properly use myListDetails instead of just details as the action. (non-PHPdoc)

See also:
LatestActivitiesForPortletView::getPortletDetailsUrl()

Reimplemented from LatestActivitiesForPortletView.

Definition at line 76 of file AllLatestActivitiesForPortletView.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.

Reimplemented from LatestActivitiesForPortletView.

Definition at line 88 of file AllLatestActivitiesForPortletView.php.

getDataProvider ( uniquePageId,
form 
) [protected]
Parameters:
string $uniquePageId
LatestActivitiesConfigurationForm $form
Returns:
RedBeanModelsDataProvider

Reimplemented from LatestActivitiesForPortletView.

Definition at line 98 of file AllLatestActivitiesForPortletView.php.

static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows

Returns:
PortletRulesType as string.

Reimplemented from LatestActivitiesForPortletView.

Definition at line 126 of file AllLatestActivitiesForPortletView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Apr 25 07:10:23 2017