Contentserv PHP API

CSGuiStateItem
in package

Represents one state item

Tags

Table of Contents

SEPARATOR_ITEM  = 'SEPARATOR'
__construct()  : mixed
getBackgroundColor()  : string|null
getColor()  : string|null
getIcon()  : string
getLabel()  : string
getOnClick()  : string
getTooltip()  : string

Constants

Methods

__construct()

public __construct(string $sLabel, string $sIcon, string $sTooltip, string|null $sColor, string|null $sBackgroundColor[, string|null $_sOnClick = '' ]) : mixed
Parameters
$sLabel : string
$sIcon : string
$sTooltip : string
$sColor : string|null
$sBackgroundColor : string|null
$_sOnClick : string|null = ''
Tags
Return values
mixed

getBackgroundColor()

public getBackgroundColor() : string|null
Tags
Return values
string|null

getColor()

public getColor() : string|null
Tags
Return values
string|null

getIcon()

public getIcon() : string
Tags
Return values
string

getLabel()

public getLabel() : string
Tags
Return values
string

getOnClick()

public getOnClick() : string
Tags
Return values
string

getTooltip()

public getTooltip() : string
Tags
Return values
string

        

Search results