SocialItemsForPortletView Class Reference

Inheritance diagram for SocialItemsForPortletView:
ConfigurableMetadataView PortletViewInterface MetadataView View AllSocialItemsForPortletView UserSocialItemsForPortletView

Public Member Functions

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

Static Public Member Functions

static getDefaultMetadata ()
static getPortletDescription ()
static canUserConfigure ()
static getPortletRulesType ()
static getModuleClassName ()

Protected Member Functions

 renderNewSocialItemContent ()
 renderSocialItemsContent ()
 resolveAndGetPaginationRoute ()
 resolveAndGetPaginationParams ()
 getPortletDetailsUrl ()
 getNonAjaxRedirectUrl ()
 renderActionContent ()

Protected Attributes

 $params
 $controllerId
 $moduleId
 $model
 $uniqueLayoutId
 $viewData

Detailed Description

Base class used for wrapping a view of social items

Definition at line 40 of file SocialItemsForPortletView.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 in AllSocialItemsForPortletView, and UserSocialItemsForPortletView.

Definition at line 65 of file SocialItemsForPortletView.php.


Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Definition at line 88 of file SocialItemsForPortletView.php.

static getPortletDescription (  )  [static]

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

Implements PortletViewInterface.

Definition at line 101 of file SocialItemsForPortletView.php.

getTitle (  ) 

TODO

Reimplemented from ConfigurableMetadataView.

Definition at line 105 of file SocialItemsForPortletView.php.

renderContent (  ) 

Renders the view content.

Reimplemented from View.

Definition at line 111 of file SocialItemsForPortletView.php.

renderNewSocialItemContent (  )  [protected]

If this is an ajax call, it is most likely a paging request which means we should not show the view for posting a new social item.

Reimplemented in AllSocialItemsForPortletView.

Definition at line 123 of file SocialItemsForPortletView.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 AllSocialItemsForPortletView, and UserSocialItemsForPortletView.

Definition at line 165 of file SocialItemsForPortletView.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 AllSocialItemsForPortletView.

Definition at line 177 of file SocialItemsForPortletView.php.

static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows

Returns:
PortletRulesType as string.

Implements PortletViewInterface.

Reimplemented in AllSocialItemsForPortletView.

Definition at line 192 of file SocialItemsForPortletView.php.

static getModuleClassName (  )  [static]

The view's module class name.

Implements PortletViewInterface.

Definition at line 200 of file SocialItemsForPortletView.php.


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