Adds the theme to database after it has been loaded and makes it available to be used.
Parameters:
API Tags:
| Return: | - 0: Failure 1: Success 2: Template folder does not exists |
| Access: | public |
void drawThemeRow(
$themeName,
$exists
)
|
|
Parameters:
API Tags:
Draws all the loaded themes readed from the themes folder
API Tags:
| Return: | - The html table with drawed themes |
| Access: | public |
Information Tags:
void getSlotsFromTemplate(
$themeName,
$templateName
)
|
|
Parameters:
|
|
$themeName: |
|
|
|
$templateName: |
|
API Tags:
Array publishAssets(
[Array
$arguments = array()], [Array
$options = array()]
)
|
|
Publishes Web Assets for third party themes. Originally written to be used in tasks only, readapted to be used in whole application
Parameters:
|
Array |
$arguments: |
|
|
Array |
$options: |
|
API Tags:
| Return: | - Contains the description of the generated assets publishing events |
| Access: | public |
Information Tags:
| Author: | Yevgeniy Viktorov <wik@osmonitoring.com> Giansimon Diblas <giansimon.diblas@w3studiocms.com> |
void remove(
$themeName
)
|
|
Parameters:
API Tags:
void scanTheme(
$themeName
)
|
|
Parameters:
API Tags:
void setDefaultInfo(
[string
$param = null]
)
|
|
Sets the related theme info.
Parameters:
API Tags:
string unpublishAsset(
String
$param, [Object
$filesystem = null]
)
|
|
Publishes Web Assets for third party themes. Originally written to be used in tasks only, readapted to be used in whole application
Parameters:
|
String |
$param: |
- Theme name |
|
Object |
$filesystem: |
- A filesystem object |
API Tags:
| Return: | - Contain the description of the generated assets publishing events |
| Access: | public |
Information Tags:
| Author: | Yevgeniy Viktorov <wik@osmonitoring.com> Giansimon Diblas <giansimon.diblas@w3studiocms.com> |