|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--PTPortalPage
Method Summary |
|
public
static
function
|
getPortletByGUID(guid)
Returns a single portlet, given a GUID. |
public
static
function
|
getPortletByID(id)
Returns a single portlet, given an ID. |
public
static
function
|
getPortletByName(name)
Returns a single portlet, given a name. |
public
static
function
|
getPortlets()
Returns a hash of all the portlets on the page, keyed by portlet id. |
private
static
function
|
addPortlet(portlet)
Adds a portlet to the portlets array, overwriting existing one if it exists. |
Method Detail |
public
static
function
getPortletByGUID(guid)
guid
- GUID of Portlet being requested (string)
public
static
function
getPortletByID(id)
guid
- ID of Portlet being requested (string)
public
static
function
getPortletByName(name)
NOTE: There is no restriction against having multiple portlets on the same page which have the same name, so portlet lookup by name in these cases is not guaranteed to achieve expected results. Also, internationalization of portlets may result in failed lookups unless the name argument matches exactly the internationalized name.
name
- Name of Portlet being requested (string)
public
static
function
getPortlets()
private
static
function
addPortlet(portlet)
portlet
- Portlet to add (PTPortlet object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |