All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
UserLatestActivitiesForPortletView Class Reference
Inheritance diagram for UserLatestActivitiesForPortletView:
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 hasRollupSwitch ()
 
- 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 ()
 
 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 user's latest activities feed.

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

Member Function Documentation

makeLatestActivitiesConfigurationForm ( )
protected

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

See Also
LatestActivitiesForPortletView::makeLatestActivitiesConfigurationForm()

Definition at line 66 of file UserLatestActivitiesForPortletView.php.

getPortletDetailsUrl ( )
protected

Override to ensure the user id is properly set in the Id parameter. (non-PHPdoc)

See Also
LatestActivitiesForPortletView::getPortletDetailsUrl()

Definition at line 78 of file UserLatestActivitiesForPortletView.php.

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

Definition at line 92 of file UserLatestActivitiesForPortletView.php.


The documentation for this class was generated from the following file:
Generated on Sun Jan 26 2020 07:10:47