setCurrMenuItem function
The setCurrMenuItem highlights the current item in the menu. This function is part of the idsadmin class, which provides a library of basic functions for plug-ins for the HCL OpenAdmin Tool (OAT) for Informix®.
Syntax
setCurrMenuItem($item="")
Variable | Purpose | Restrictions |
---|---|---|
item | The key name for the menu item. | The key name must exist. Passing a menu item variable that does not exist, does not cause an error, but nothing is highlighted in the menu. |
Usage
The setCurrMenuItem function sets the current menu item by highlighting it when the web page is rendered in the browser. The function does not create the menu item.
Example
This example sets the current menu item to Storage.
$this->idsadmin->setCurrMenuItem("storage");