\Lobby\UIThemes

Summary

Methods
Properties
Constants
__constructStatic()
getThemes()
getThemeID()
getThemeDir()
getThemeURL()
loadDefaults()
loadTheme()
loadDashboard()
validTheme()
No public properties found
No constants found
No protected methods found
$cache
$themesDir
$themesURL
N/A
No private methods found
$themeID
$dir
$url
$theme
N/A

Properties

$cache

$cache : 

Cache results

Type

$themesDir

$themesDir : 

Path & URL to `themes` folder

Type

$themesURL

$themesURL : 

Type

$themeID

$themeID : 

Active theme's Info

Type

$dir

$dir : 

Active theme's Info

Type

$url

$url : 

Active theme's Info

Type

$theme

$theme : 

Active theme's \Lobby\UI\Theme object

Type

Methods

__constructStatic()

__constructStatic(  $themesVARS) 

Initialization

Parameters

$themesVARS

getThemes()

getThemes() 

Get themes installed

getThemeID()

getThemeID() 

getThemeDir()

getThemeDir() 

getThemeURL()

getThemeURL() 

loadDefaults()

loadDefaults() 

Load Default CSS & JS

loadTheme()

loadTheme() 

Load a theme

loadDashboard()

loadDashboard(  $dashboard_items) 

Load Dashboard

Parameters

$dashboard_items

validTheme()

validTheme(  $theme) 

Check if a theme is valid

Parameters

$theme