×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

Theme

Thomas Walker

Thomas Walker Last update: Aug 7, 2017

Methods

Name Type Description
$theme.baseUrl String

The relative base URL for resources in the current theme.

$theme.id String

The ID of the theme.

$theme.name String

Prints the name of the theme.

$theme.readJsonResource(relativeFileName) Map<String,Object>

Reads a .json file and returns the JSON object as a Map.

Parameter Type Description
relativeFileName String
$theme.readPropertiesResource(relativeFileName) Map<String,String>

Reads a properties file and returns the parsed properties as a Map.

Parameter Type Description
relativeFileName String
$theme.readPropertiesResource(relativeFileName, fallbackFileName) Map<String,String>

Reads two properties files, merges them and returns the parsed properties as a Map. If a key exists in both files, the value of the fallback file is ignored.

Parameter Type Description
relativeFileName String
fallbackFileName String
$theme.version String

Prints the version of the theme.

2xlatest
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok