CSToolboxGuiLink
in package
Definition for a toolbox link
Tags
Table of Contents
- __construct() : mixed
- Creates a new link
- getIcon() : string|null
- Gets the icon
- getIconUrl() : string|null
- Gets the icon link
- getLabel() : string|null
- Gets the label of the link
- getLink() : string|null
- Gets the link
- getName() : string|null
- Gets the name of the link
- setIcon() : void
- Sets the icon name
- setLabel() : void
- Sets the label of the link
- setLink() : void
- Sets the link
- setName() : void
- Sets the name of the link
Methods
__construct()
Creates a new link
public
__construct(string $sName, string $sLabel[, string|null $sLink = null ][, string|null $sIcon = null ]) : mixed
Parameters
- $sName : string
- $sLabel : string
- $sLink : string|null = null
- $sIcon : string|null = null
Tags
Return values
mixed —getIcon()
Gets the icon
public
getIcon() : string|null
Tags
Return values
string|null —getIconUrl()
Gets the icon link
public
getIconUrl() : string|null
Tags
Return values
string|null —getLabel()
Gets the label of the link
public
getLabel() : string|null
Tags
Return values
string|null —getLink()
Gets the link
public
getLink() : string|null
Tags
Return values
string|null —getName()
Gets the name of the link
public
getName() : string|null
Tags
Return values
string|null —setIcon()
Sets the icon name
public
setIcon(string $sIcon) : void
Parameters
- $sIcon : string
Tags
Return values
void —setLabel()
Sets the label of the link
public
setLabel(string $sLabel) : void
Parameters
- $sLabel : string
Tags
Return values
void —setLink()
Sets the link
public
setLink(string $sLink) : void
Parameters
- $sLink : string
Tags
Return values
void —setName()
Sets the name of the link
public
setName(string $sName) : void
Parameters
- $sName : string
