Méthode |
Description |
|
__construct ( ) |
|
|
add ( Theme $theme, string $parentName = '' ) : Theme |
Add a new theme to the hierarcy. Optionaly define a parent theme. |
|
config ( string $key, $defaultValue = null ) : mixed |
Return current theme's configuration value for $key |
|
configSet ( string $key, $value ) : mixed |
Set current theme's configuration value for $key |
|
css ( string $href ) : string |
Return css link for $href |
|
current ( ) |
|
|
exists ( string $themeName ) : boolean |
Check if $themeName is a valid Theme |
|
find ( string $themeName ) : Theme |
Find a Theme (by name) |
|
get ( ) : string |
Get active's Theme Name |
|
img ( string $src, string $alt = '', string $Class = '', array $attributes = [] ) : string |
Return img tag |
|
js ( string $href ) : string |
Return script link for $href |
|
set ( string $themeName ) : void |
Set $themeName is the active Theme |
|
url ( string $url ) : string |
Attach current theme's paths to a local Url. The Url must be a resource located on the asset path
of the current theme or it's parents. |
|