Standard
extends Skin
in package
Standard skin information file.
This skin uses the default paths always, there is no lookup required.
Tags
Table of Contents
- $defaultPublicSkinPath : string
- $defaultSkinPath : string
- $publicSkinPath : string
- $skinPath : string
- $skinCache : self
- __construct() : mixed
- Constructor.
- getActive() : mixed
- Returns the active skin.
- getLayoutPaths() : array<string|int, mixed>
- Returns an array of paths where skin layouts can be found.
- getPath() : string
- Looks up a path to a skin-based file, if it doesn't exist, the default path is used.
- skinDetails() : mixed
- Returns information about this skin, including name and description.
Properties
$defaultPublicSkinPath
public
string
$defaultPublicSkinPath
The default public skin path.
$defaultSkinPath
public
string
$defaultSkinPath
The default skin path, usually the root level of modules/backend.
$publicSkinPath
public
string
$publicSkinPath
The public path to this skin.
$skinPath
public
string
$skinPath
The absolute path to this skin.
$skinCache
private
static self
$skinCache
Cache of the active skin.
Methods
__construct()
Constructor.
public
__construct() : mixed
Tags
Return values
mixed —getActive()
Returns the active skin.
public
static getActive() : mixed
Return values
mixed —getLayoutPaths()
Returns an array of paths where skin layouts can be found.
public
getLayoutPaths() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getPath()
Looks up a path to a skin-based file, if it doesn't exist, the default path is used.
public
getPath([mixed $path = null ][, mixed $isPublic = false ]) : string
Parameters
- $path : mixed = null
- $isPublic : mixed = false
Tags
Return values
string —skinDetails()
Returns information about this skin, including name and description.
public
skinDetails() : mixed