Zimlet JavaScript API Reference - ZmPortletMgr

Class ZmPortletMgr


This class represents the portlet manager.

Defined in: ZmPortletMgr.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates the portlet manager.
Method Summary
Method Attributes Method Name and Description
 
createPortlet(id, portletDef)
Creates the portlet.
 
createPortlets(global, manifest)
Creates the portlets.
 
Gets the portlet by id.
 
Gets the portlets.
Class Detail
ZmPortletMgr()
Creates the portlet manager.
See:
ZmPortalApp
ZmPortlet
Method Detail
{ZmPortlet} createPortlet(id, portletDef)
Creates the portlet.
Parameters:
{String} id
the portlet id
{Object} portletDef
the portlet definition
Returns:
{ZmPortlet} the newly created portlet

createPortlets(global, manifest)
Creates the portlets.
Parameters:
{Boolean} global
if true, create global portlets
{Object} manifest
the portal manifest

{ZmPortlet} getPortletById(id)
Gets the portlet by id.
Parameters:
{String} id
the portlet id
Returns:
{ZmPortlet} the portlet

{Array} getPortlets()
Gets the portlets.
Returns:
{Array} an array of ZmPortlet objects

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:36 GMT-0400 (EDT)