All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
AllLatestActivitiesForPortletView Class Reference
Inheritance diagram for AllLatestActivitiesForPortletView:
LatestActivitiesForPortletView ConfigurableMetadataView PortletViewInterface UserPersistentSettingsCleanupForPortletInterface RelatedPortletViewInterface MetadataView View

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 
 getLatestActivitiesViewClassName ()
 
- Public Member Functions inherited from LatestActivitiesForPortletView
 __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 getPortletRulesType ()
 
- Static Public Member Functions inherited from LatestActivitiesForPortletView
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

 makeLatestActivitiesConfigurationForm ()
 
 getPortletDetailsUrl ()
 
 getNonAjaxRedirectUrl ()
 
 getDataProvider ($uniquePageId, $form)
 
- Protected Member Functions inherited from LatestActivitiesForPortletView
 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 Protected Member Functions inherited from LatestActivitiesForPortletView
static includeHavingRelatedItemsWhenRenderingMashableModels ()
 
static resolvePropertyName ($attribute)
 

Additional Inherited Members

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

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

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()

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()

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.

Definition at line 88 of file AllLatestActivitiesForPortletView.php.

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

Definition at line 98 of file AllLatestActivitiesForPortletView.php.

static getPortletRulesType ( )
static

What kind of PortletRules this view follows

Returns
PortletRulesType as string.

Implements PortletViewInterface.

Definition at line 126 of file AllLatestActivitiesForPortletView.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:39