Backend\Classes\Skin

Overview

Skin Base class is used for defining skins.


Public Properties

public string $skinPath

skinPath is the absolute path to this skin.

public string $publicSkinPath

publicSkinPath to this skin.

public string $defaultSkinPath

defaultSkinPath usually the root level of modules/backend.

public string $defaultPublicSkinPath


Public Methods

public __construct()

public __construct(): void

public static getActive()

public static getActive(): void

getActive returns the active skin.

public getLayoutPaths()

public getLayoutPaths(): array 

getLayoutPaths returns an array of paths where skin layouts can be found.

public getPath()

public getPath(string $path = null, boolean $isPublic = false): string 

getPath looks up a path to a skin-based file, if it doesn't exist, the default path is used.

public skinDetails()

public skinDetails(): void

Returns information about this skin, including name and description.