-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
loadTheme
Description
This function loads the theme with the specified ID.
Syntax
void loadTheme ([int $ID_THEME[, bool $initialize]])
Parameter $ID_THEME
Expected type: Integer
Description: The ID of the theme to load. Default is 0 (which loads the user's selected theme)
Parameter $initialize
Expected type: Boolean
Description: Whether or not to initialize - this loads a lot of additional data about the environment and the user. Default is true.
Notes
- Loads $settings global variable (theme settings)
- Loads $options global variable (member's theme options)
- Loads $context['server'] and $context['browser'] if $initialize is true
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.133 seconds with 13 queries.
- Forum Search