ModelRelationsSecuredPortletFrameView Class Reference

Inheritance diagram for ModelRelationsSecuredPortletFrameView:
SecuredPortletFrameView PortletFrameView MetadataView View ReportResultsSecuredPortletFrameView

Public Member Functions

 __construct ($controllerId, $moduleId, $uniqueLayoutId, $params, $metadata, $portletsAreCollapsible=true, $portletsAreMovable=true, $showAsTabs=false, $layoutType= '100', $portletsAreRemovable=true)
 isUniqueToAPage ()

Protected Member Functions

 renderContent ()
 renderPortlets ($uniqueLayoutId, $portletsAreCollapsible=true, $portletsAreMovable=true, $portletsAreRemovable=true)
 renderPortletsTabbed ()
 arePortletsRemovable ()

Protected Attributes

 $layoutType = '100'

Detailed Description

Helper class to handle portlet frame views where the metadata is being populated from outside this class. This class is primarily used to display related model information in the DetailsAndRelationsView. There are two ways this way handles portlets in a user interface. The first way is stacked using the JuiPortlets widget while the second way is tabbed using the CJuiTabs widget.

Definition at line 43 of file ModelRelationsSecuredPortletFrameView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
uniqueLayoutId,
params,
metadata,
portletsAreCollapsible = true,
portletsAreMovable = true,
showAsTabs = false,
layoutType = '100',
portletsAreRemovable = true 
)
Parameters:
string $controllerId
string $moduleId
string $uniqueLayoutId
array $params
array $metadata
bool $portletsAreCollapsible
bool $portletsAreMovable
bool $showAsTabs
string $layoutType
bool $portletsAreRemovable

Definition at line 69 of file ModelRelationsSecuredPortletFrameView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from PortletFrameView.

Definition at line 94 of file ModelRelationsSecuredPortletFrameView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 143 of file ModelRelationsSecuredPortletFrameView.php.


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