class Theme (View source)

Methods

__construct(mixed $themeName, mixed $colourSchemeName, mixed $colourMap)

Create a new Theme.

string
getThemeName()

Get Theme Name.

string
getColourSchemeName()

Get colour Scheme Name.

string
getColourByIndex(mixed $index)

Get colour Map Value by Position.

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.

Details

__construct(mixed $themeName, mixed $colourSchemeName, mixed $colourMap)

Create a new Theme.

Parameters

mixed $themeName
mixed $colourSchemeName
mixed $colourMap

string getThemeName()

Get Theme Name.

Return Value

string

string getColourSchemeName()

Get colour Scheme Name.

Return Value

string

string getColourByIndex(mixed $index)

Get colour Map Value by Position.

Parameters

mixed $index

Return Value

string

__clone()

Implement PHP __clone to create a deep clone, not just a shallow copy.