ApplicationPopupMenuItem
abstract api
Base class for the various types of custom menus
Tags
since | 2.0 |
---|
API synthesis
List of the public API methods. When manipulating ApplicationPopupMenuItem, You can call those methods:
-
__construct() β Constructor
-
AddCssClass() β Adds a CSS class to the CSS classes that will be put on the menu item
-
GetIconClass() β
-
GetTooltip() β
-
SetCssClasses() β
-
SetIconClass() β
-
SetTooltip() β
Public methods
__construct
api 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) |
AddCssClass
api public
Adds a CSS class to the CSS classes that will be put on the menu item
public AddCssClass($sCssClass)
Parameters
types | name | default | description |
---|---|---|---|
$sCssClass |
GetIconClass
api public
public GetIconClass()
Parameters
none
Returns
string
Tags
since | 3.0.0 |
---|
GetTooltip
api public
public GetTooltip()
Parameters
none
Returns
string
Tags
since | 3.0.0 |
---|
SetCssClasses
api public
public SetCssClasses($aCssClasses)
Parameters
types | name | default | description |
---|---|---|---|
$aCssClasses |
SetIconClass
api public
public SetIconClass($sIconClass)
Parameters
types | name | default | description |
---|---|---|---|
$sIconClass |
Tags
since | 3.0.0 |
---|
SetTooltip
api public
public SetTooltip($sTooltip)
Parameters
types | name | default | description |
---|---|---|---|
$sTooltip |
Tags
since | 3.0.0 |
---|
latest/customization/api/extensions/applicationpopupmenuitem.txt
Β· Last modified: 2024/09/10 10:25 by 127.0.0.1