Skin

Skin Base class Used for defining skins.

abstract class Backend\Classes\Skin

Properties

public $defaultPublicSkinPath : string

The default public skin path.

public $defaultSkinPath : string

The default skin path, usually the root level of modules/backend.

public $publicSkinPath : string

The public path to this skin.

public $skinPath : string

The absolute path to this skin.

private static $skinCache : self

Cache of the active skin.

Methods

public __construct ()

Constructor.

Returns
mixed

public static getActive ()

Returns the active skin.

Returns
mixed

public getLayoutPaths () : array

Returns an array of paths where skin layouts can be found.

Returns
array

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

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

Parameters
Property Description
$path
string
$isPublic
boolean
Returns
string

public skinDetails ()

Returns information about this skin, including name and description.

Returns
mixed

Extended by

Class Description
Standard

Standard skin information file.

Copyright © 2024 Winter CMS