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