URLButtonItem
api
Class for adding an item as a button that browses to the given URL
Note: This works only in the backoffice, \URLButtonItem for the end-user portal
parent
parent
Tags
since | 2.0 |
---|
API synthesis
List of the public API methods. When manipulating URLButtonItem, You can call those methods:
-
↪ApplicationPopupMenuItem::__construct() — Constructor
-
↪ApplicationPopupMenuItem::AddCssClass() — Adds a CSS class to the CSS classes that will be put on the menu item
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
AddCssClass
api inherited 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 |
Inherited from \ApplicationPopupMenuItem
GetIconClass
api inherited public
public GetIconClass()
Parameters
none
Returns
string
GetTooltip
api inherited public
public GetTooltip()
Parameters
none
Returns
string
SetCssClasses
api inherited public
public SetCssClasses($aCssClasses)
Parameters
types | name | default | description |
---|---|---|---|
$aCssClasses |
Inherited from \ApplicationPopupMenuItem
SetIconClass
api inherited public
public SetIconClass($sIconClass)
Parameters
types | name | default | description |
---|---|---|---|
$sIconClass |
SetTooltip
api inherited public
public SetTooltip($sTooltip)
Parameters
types | name | default | description |
---|---|---|---|
$sTooltip |
latest/customization/api/extensions/urlbuttonitem.txt ·
Last modified: 2024/09/10 10:25 by 127.0.0.1