Class for adding an item into a popup menu that browses to the given URL

package Extensibility
api
since 2.0

 Methods

Constructor

__construct(string $sUID, string $sLabel, string $sURL, string $sTarget) 

Parameters

$sUID

string

The unique identifier of this menu in iTop... make sure you pass something unique enough

$sLabel

string

The display label of the menu (must be localized)

$sURL

string

If the menu is an hyperlink, provide the absolute hyperlink here

$sTarget

string

In case the menu is an hyperlink and a specific target is needed (_blank for example), pass it here