CSTheme
in package
This class defines the concrete Theme API.
It provides multiple methods for the Theme functionality.
Tags
Table of Contents
- __construct() : mixed
- getApplicationLogoId() : int|null
- Returns the theme application logo id.
- getId() : int
- Returns the theme id.
- getLabel() : string
- Returns the theme label.
- getName() : string
- Returns the theme name.
- getPrimaryColor() : string
- Returns the theme primary color.
- getSecondaryColor() : string
- Returns the theme secondary color.
- getSmallApplicationLogoId() : int|null
- Returns the theme small application logo id.
- setLabel() : void
- Sets the label of the theme.
- setName() : void
- Sets the name of the theme.
Methods
__construct()
public
__construct(mixed $iThemeId) : mixed
Parameters
- $iThemeId : mixed
Tags
Return values
mixed —getApplicationLogoId()
Returns the theme application logo id.
public
getApplicationLogoId() : int|null
Tags
Return values
int|null —The theme application logo id
getId()
Returns the theme id.
public
getId() : int
Tags
Return values
int —The theme id
getLabel()
Returns the theme label.
public
getLabel() : string
Tags
Return values
string —The theme label
getName()
Returns the theme name.
public
getName() : string
Tags
Return values
string —The theme name
getPrimaryColor()
Returns the theme primary color.
public
getPrimaryColor() : string
Tags
Return values
string —The theme primary color
getSecondaryColor()
Returns the theme secondary color.
public
getSecondaryColor() : string
Tags
Return values
string —The theme secondary color
getSmallApplicationLogoId()
Returns the theme small application logo id.
public
getSmallApplicationLogoId() : int|null
Tags
Return values
int|null —The theme small application logo id
setLabel()
Sets the label of the theme.
public
setLabel(string $sLabel) : void
Parameters
- $sLabel : string
-
The label to set
Tags
Return values
void —setName()
Sets the name of the theme.
public
setName(string $sName) : void
Parameters
- $sName : string
-
The name to set
