LatestActivitiesForPortletView Class Reference

Inheritance diagram for LatestActivitiesForPortletView:
ConfigurableMetadataView PortletViewInterface UserPersistentSettingsCleanupForPortletInterface RelatedPortletViewInterface MetadataView View AccountLatestActivitiesForPortletView AllLatestActivitiesForPortletView ContactLatestActivitiesForPortletView OpportunityLatestActivitiesForPortletView UserLatestActivitiesForPortletView

Public Member Functions

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

Static Public Member Functions

static getDefaultMetadata ()
static getPortletDescription ()
static canUserConfigure ()
static getPortletRulesType ()
static getModuleClassName ()
static hasRollupSwitch ()
static hasOwnedByFilterSwitch ()
static hasFilteredByModelNameSwitch ()
static processBeforeDelete ($portletId)
static getAllowedOnPortletViewClassNames ()
static allowMultiplePlacement ()

Protected Member Functions

 getLatestActivitiesViewClassName ()
 renderLatestActivitiesContent ()
 resolveLatestActivitiesConfigFormFromRequest (&$latestActivitiesConfigurationForm)
 saveUserSettingsFromConfigForm (&$latestActivitiesConfigurationForm)
 restoreUserSettingsToConfigFrom (&$latestActivitiesConfigurationForm, $excludeFromRestore)
 makeLatestActivitiesConfigurationForm ()
 getPortletDetailsUrl ()
 getNonAjaxRedirectUrl ()
 getDataProvider ($uniquePageId, $form)
 renderActionContent ()
 shouldRenderToolBarElement ($element, $elementInformation)

Static Protected Member Functions

static includeHavingRelatedItemsWhenRenderingMashableModels ()
static resolvePropertyName ($attribute)

Protected Attributes


Static Protected Attributes

static $persistantUserPortletConfigs

Detailed Description

Base class used for wrapping a latest activity view.

Definition at line 40 of file LatestActivitiesForPortletView.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

Reimplemented in AllLatestActivitiesForPortletView, and UserLatestActivitiesForPortletView.

Definition at line 75 of file LatestActivitiesForPortletView.php.

Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Reimplemented in AccountLatestActivitiesForPortletView, ContactLatestActivitiesForPortletView, and OpportunityLatestActivitiesForPortletView.

Definition at line 93 of file LatestActivitiesForPortletView.php.

static getPortletDescription (  )  [static]

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

Implements PortletViewInterface.

Definition at line 106 of file LatestActivitiesForPortletView.php.

getTitle (  ) 


Reimplemented from ConfigurableMetadataView.

Definition at line 110 of file LatestActivitiesForPortletView.php.

renderContent (  ) 

Renders the view content.

Reimplemented from View.

Definition at line 116 of file LatestActivitiesForPortletView.php.

getPortletDetailsUrl (  )  [protected]

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

Reimplemented in AllLatestActivitiesForPortletView, and UserLatestActivitiesForPortletView.

Definition at line 210 of file LatestActivitiesForPortletView.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 in AllLatestActivitiesForPortletView.

Definition at line 222 of file LatestActivitiesForPortletView.php.

getDataProvider ( uniquePageId,
) [protected]
static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows

PortletRulesType as string.

Implements PortletViewInterface.

Reimplemented in AllLatestActivitiesForPortletView.

Definition at line 271 of file LatestActivitiesForPortletView.php.

static getModuleClassName (  )  [static]

The view's module class name.

Implements PortletViewInterface.

Definition at line 279 of file LatestActivitiesForPortletView.php.

shouldRenderToolBarElement ( element,
) [protected]

Expects there to be a modelClassName parameter passed through the elementInformation that can be used to compare the Rights security on based on the actionType of the element. (non-PHPdoc)

See also:

Reimplemented from MetadataView.

Definition at line 303 of file LatestActivitiesForPortletView.php.

static processBeforeDelete ( portletId  )  [static]

Applicable deletion code to remove any/all persistent settings that are no longer valid.

$portletId Id of the portlet being deleted.

Implements UserPersistentSettingsCleanupForPortletInterface.

Definition at line 342 of file LatestActivitiesForPortletView.php.

Field Documentation

$persistantUserPortletConfigs [static, protected]
Initial value:

Definition at line 61 of file LatestActivitiesForPortletView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:26 2017