-
Notifications
You must be signed in to change notification settings - Fork 35
icms_view_theme_Factory
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
icms_view_theme_Factory
- Class name: icms_view_theme_Factory
- Namespace:
public mixed $xoBundleIdentifier = icms_view_theme_Factory
- Visibility: public
public mixed $allowedThemes = array()
Currently enabled themes (if empty, all the themes in themes/ are allowed)
- Visibility: public
public mixed $defaultTheme = iTheme
Default theme to instanciate if none specified
- Visibility: public
public mixed $allowUserSelection = \true
If users are allowed to choose a custom theme
- Visibility: public
\icms_view_theme_Factory icms_view_theme_Factory::getInstance()
Gets theme factory for existing configuration
- Visibility: public
- This method is static.
array icms_view_theme_Factory::getThemesList()
Gets list of themes folder from themes directory, excluding any directories that do not have theme.html
- Visibility: public
- This method is static.
array icms_view_theme_Factory::getAdminThemesList()
Gets list of administration themes folder from themes directory, excluding any directories that do not have theme_admin.html
- Visibility: public
- This method is static.
mixed icms_view_theme_Factory::createInstance(mixed options, mixed initArgs)
Instanciate the specified theme
- Visibility: public
- options mixed
- initArgs mixed
bool icms_view_theme_Factory::isThemeAllowed(string name)
Checks if the specified theme is enabled or not
- Visibility: public
- name string