Configuration
in package
Table of Contents
Constants
- DEFAULT_THEME = ""
Properties
- $applicationDirectory : string
- $cacheDirectory : string
- $instance : Configuration|null
- $staticContentURL : string
- $theme : string
Methods
- buildDefaultConfiguration() : Configuration
- getApplicationDirectory() : string
- getCacheDirectory() : string
- getCompileDirectory() : string
- getPluginsDirectory() : string
- getStaticContentURL() : string
- getTemplateDirectory() : string
- getTheme() : string
- load() : Configuration
- setApplicationDirectory() : Configuration
- setCacheDirectory() : Configuration
- setStaticContentURL() : Configuration
- setTheme() : Configuration
- getDefaultTheme() : string
Constants
DEFAULT_THEME
public
mixed
DEFAULT_THEME
= ""
Properties
$applicationDirectory
private
string
$applicationDirectory
$cacheDirectory
private
string
$cacheDirectory
$instance
private
static Configuration|null
$instance
= null
$staticContentURL
private
string
$staticContentURL
$theme
private
string
$theme
Methods
buildDefaultConfiguration()
public
static buildDefaultConfiguration() : Configuration
Return values
ConfigurationgetApplicationDirectory()
public
getApplicationDirectory() : string
Return values
stringgetCacheDirectory()
public
getCacheDirectory() : string
Return values
stringgetCompileDirectory()
public
getCompileDirectory() : string
Return values
stringgetPluginsDirectory()
public
getPluginsDirectory() : string
Return values
stringgetStaticContentURL()
public
getStaticContentURL() : string
Return values
stringgetTemplateDirectory()
public
getTemplateDirectory() : string
Return values
stringgetTheme()
public
getTheme() : string
Return values
stringload()
public
static load() : Configuration
Return values
ConfigurationsetApplicationDirectory()
public
setApplicationDirectory(string $dir) : Configuration
Parameters
- $dir : string
Return values
ConfigurationsetCacheDirectory()
public
setCacheDirectory(string $dir) : Configuration
Parameters
- $dir : string
Return values
ConfigurationsetStaticContentURL()
public
setStaticContentURL(string $url) : Configuration
Parameters
- $url : string
Return values
ConfigurationsetTheme()
public
setTheme(string $theme) : Configuration
Parameters
- $theme : string
Return values
ConfigurationgetDefaultTheme()
private
static getDefaultTheme() : string