setMenuState
Set the menu state of the menu with the provided static menu ID.
Syntax
params.setMenuState (Static Menu ID, Menu State);
Parameters
Parameter |
Type |
Required |
Description |
Static Menu ID |
Integer |
Yes |
ID of the menu of interest. |
Menu State |
Integer |
Yes |
Menu state to set for the specified Static Menu ID. The available menu states are as follows: 0 — Hidden 1 — Disabled 2 — Normal |
Returns
N/A
Example
Coming soon.