InlineEditForPortletView Class Reference

Inheritance diagram for InlineEditForPortletView:
ConfigurableMetadataView PortletViewInterface RelatedPortletViewInterface MetadataView View NoteInlineEditForPortletView

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 renderInlineEditContent ()
 getPortletDetailsUrl ()
 getNonAjaxRedirectUrl ()

Protected Attributes

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

Detailed Description

Base class used for wrapping a model inline edit view into a portlet ready view.

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


Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Reimplemented in NoteInlineEditForPortletView.

Definition at line 85 of file InlineEditForPortletView.php.

static getPortletDescription (  )  [static]

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

Implements PortletViewInterface.

Definition at line 92 of file InlineEditForPortletView.php.

renderContent (  ) 

Renders the view content.

Reimplemented from View.

Definition at line 96 of file InlineEditForPortletView.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 108 of file InlineEditForPortletView.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 120 of file InlineEditForPortletView.php.

static getPortletRulesType (  )  [static]

What kind of PortletRules this view follows

Returns:
PortletRulesType as string.

Implements PortletViewInterface.

Definition at line 135 of file InlineEditForPortletView.php.

static getModuleClassName (  )  [static]

The view's module class name.

Implements PortletViewInterface.

Reimplemented in NoteInlineEditForPortletView.

Definition at line 145 of file InlineEditForPortletView.php.


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