3.1.30. setMasterTemplate()

void setMasterTemplate ( string $template )

Sets a new master template file $template. It is loaded, when the compiler needs to compile a template. You can use master templates to store there common snippets and component events. OPT allows to use many master templates at the same time.

Note: this method is not available, if the Master template support was removed from the source with OPT Configurator.