All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
SocialItemsForPortletView Class Reference
Inheritance diagram for SocialItemsForPortletView:
ConfigurableMetadataView PortletViewInterface MetadataView View AllSocialItemsForPortletView UserSocialItemsForPortletView

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 
 getPortletParams ()
 
 renderPortletHeadContent ()
 
 getTitle ()
 
 renderContent ()
 
- 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 ()
 

Protected Member Functions

 renderNewSocialItemContent ()
 
 renderSocialItemsContent ()
 
 resolveAndGetPaginationRoute ()
 
 resolveAndGetPaginationParams ()
 
 getPortletDetailsUrl ()
 
 getNonAjaxRedirectUrl ()
 
 renderActionContent ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Protected Attributes

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

Additional Inherited Members

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

Definition at line 65 of file SocialItemsForPortletView.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 101 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.

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.

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.

Definition at line 177 of file SocialItemsForPortletView.php.

static getPortletRulesType ( )
static

What kind of PortletRules this view follows

Returns
PortletRulesType as string.

Implements PortletViewInterface.

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:
Generated on Sun Jan 26 2020 07:10:44