All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
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 ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

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)
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Static Protected Member Functions

static includeHavingRelatedItemsWhenRenderingMashableModels ()
 
static resolvePropertyName ($attribute)
 

Protected Attributes

 $params
 
 $controllerId
 
 $moduleId
 
 $model
 
 $uniqueLayoutId
 
 $viewData
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

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,
  $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

Definition at line 75 of file LatestActivitiesForPortletView.php.

Member Function Documentation

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.

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 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.

Definition at line 222 of file LatestActivitiesForPortletView.php.

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

Definition at line 233 of file LatestActivitiesForPortletView.php.

static getPortletRulesType ( )
static

What kind of PortletRules this view follows

Returns
PortletRulesType as string.

Implements PortletViewInterface.

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,
  $elementInformation 
)
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
MetadataView::shouldRenderToolBarElement()

Definition at line 303 of file LatestActivitiesForPortletView.php.

static hasOwnedByFilterSwitch ( )
static

Definition at line 332 of file LatestActivitiesForPortletView.php.

static processBeforeDelete (   $portletId)
static

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

Parameters
$portletIdId of the portlet being deleted.

Implements UserPersistentSettingsCleanupForPortletInterface.

Definition at line 342 of file LatestActivitiesForPortletView.php.

Field Documentation

$persistantUserPortletConfigs
staticprotected
Initial value:
= array(
'rollup',
'ownedByFilter',
'filteredByModelName'
)

Definition at line 61 of file LatestActivitiesForPortletView.php.


The documentation for this class was generated from the following file:
Generated on Mon Mar 30 2020 07:10:59