JSButtonItem
api
Class for adding an item as a button that runs some JS code
Note: This works only in the backoffice, \JSButtonItem for the end-user portal
parent
parent
Tags
since | 2.0 |
---|
API synthesis
List of the public API methods. When manipulating JSButtonItem, You can call those methods:
-
↪ApplicationPopupMenuItem::__construct() — Constructor
Public methods
__construct
api inherited public
Constructor
public __construct($sUID, $sLabel)
Parameters
types | name | default | description |
---|---|---|---|
string | $sUID | The unique identifier of this menu in iTop… make sure you pass something unique enough | |
string | $sLabel | The display label of the menu (must be localized) |
Inherited from \ApplicationPopupMenuItem
3_1_0/customization/api/extensions/jsbuttonitem.txt ·
Last modified: 2023/07/21 10:19 by 127.0.0.1