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.
If no Column is submitted
is used.
array
getPortlets
(int $itemtype, long $itemid, String $languageid, [String $column = null])
-
int
$itemtype: itemtype the Itemtype to fetch the Portlets for
-
long
$itemid: itemid the ItemID to fetch the Portlets for
-
String
$languageid: languageid the LanguageID to fetch the Portlets for
-
String
$column: column the Name of the Column to fetch the Portlets for
Redefined in descendants as:
Saves the given Portlets for the Item.
Pass null or an empty array to delete portlet settings.
If no Column is submitted
is used.
boolean
savePortlets
(int $itemtype, long $itemid, String $languageid, array $portlets, [String $column = null])
-
int
$itemtype: itemtype the Itemtype to fetch the Portlets for
-
long
$itemid: itemid the ItemID to fetch the Portlets for
-
String
$languageid: languageid the LanguageID to fetch the Portlets for
-
array
$portlets: portlets an Array with configured Portlets to save
-
String
$column: column the Name of the Column to fetch the Portlets for
Redefined in descendants as:
If this function is called with
also the Portlets are rendered, that return
for
.
void
setIgnoreDisplaySetting
(boolean $ignorePortletDisplaySetting)
-
boolean
$ignorePortletDisplaySetting: ignorePortletDisplaySetting whether the Portlets setting should be ignored or not
Redefined in descendants as: