PortletParser PortletParser(
)
|
|
Create a new instance of the PortletParser.
void getPortlets(
$itemtype,
$itemid,
$languageid, [
$column = null]
)
|
|
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.
Parameters:
|
|
$itemtype: |
|
|
|
$itemid: |
|
|
|
$languageid: |
|
|
|
$column: |
|
Redefinition of:
- PortletService::getPortlets()
- 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.
void savePortlets(
$itemtype,
$itemid,
$languageid,
$portlets, [
$column = null]
)
|
|
Converts and then saves the given Portlets.
Pass null or an empty array to delete portlet settings.
Parameters:
|
|
$itemtype: |
|
|
|
$itemid: |
|
|
|
$languageid: |
|
|
|
$portlets: |
|
|
|
$column: |
|
Redefinition of:
- PortletService::savePortlets()
- Saves the given Portlets for the Item.
void setIgnoreDisplaySetting(
[
$ignorePortletDisplaySetting = false]
)
|
|
If this function is called with true
also the Portlets are rendered, that return false
for
.
Parameters:
|
|
$ignorePortletDisplaySetting: |
|
Redefinition of:
- PortletService::setIgnoreDisplaySetting()
- If this function is called with
true
also the Portlets are rendered, that return false
for
.