-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
loadSubTemplate
Description
This loads the specified sub-template, which is a function in an already loaded template.
Syntax
void loadSubTemplate (string $sub_template_name[, mixed $fatal])
Parameter $sub_template_name
Expected type: String
Description: The name of the sub-template to load
Parameter $fatal
Expected type: Mixed
Description: Whether or not to die with a fatal_error if the sub-template couldn't be loaded
Allowed types for $fatal Allowed values Description Boolean If 'true', die with a fatal_error if the sub-template can't be loaded. If 'false', just use fatal_lang_error() instead. Enumerated String Special value - 'ignore' to completely ignore any error messages. If it is not 'true', 'false' or 'ignore', the default (false) is assumed.
Notes
- If 'debug' is in the query string, shows administrators a marker after every sub template for debugging purposes.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.122 seconds with 13 queries.
- Forum Search