This class provides methods for easy reading and parsing of Portlets.
The Portlet settings are saved (by default) in a Text-Project-Field with the Key:
The Column can be changed, in order to save multiple Columns for one Item.If one of the configured Portlet Classes can not be found in the environment by calling
PortletService | --PortletParser
Create a new instance of the PortletParser.
Get an array with ready parsed and configured Portlets for the given Itemtype and ID.
Even if Portlets are ment to be used with Menus, it is possible to fetch them for all Itemtypes.
Return the ready configured Portlets from the given XML.
Returns the XML that defines the Portlet settings.
If no XML is found for the current Menu, it searches the way-home till TOP-LEVEL and returns the first occurence. If no XML could be found on the complete way-home, an empty String is returned.
Converts an Array of ready configured Portlets into XML.
Converts and then saves the given Portlets.
Pass null or an empty array to delete portlet settings.
Saves the given Portlet XML.
If this function is called with
- true
- false
- true
- false
Inherited From PortletService
PortletService::getPortlets()
PortletService::savePortlets()
PortletService::setIgnoreDisplaySetting()
Documentation generated by phpDocumentor 1.3.1