D7 API documentation
What's New
Modules
Main module in old core
EventMessageThemeCompiler constructor
createInstance
execute
getInstance
getLanguageId
getResult
getSiteId
getSiteTemplateId
getStyles
getStylesString
getThemeEpilog
getThemeProlog
includeComponent
includeThemeLang
setLanguageId
setParams
setSiteId
setSiteTemplateId
setStyle
setStyleArray
setThemeEpilog
setThemeProlog
showStyles
unsetInstance
includeThemeLang
void public \Bitrix\Main\Mail\EventMessageThemeCompiler::includeThemeLang( string $relativePath = "" );
Non-static method connects language files from a theme catalog.
For example: $this->includeThemeLang("header.php")
connects file lang/en/header.php
.
Note: theme must be initiated by the method \Bitrix\Main\Mail\EventMessageThemeCompiler::setTheme
.
Parameters
Parameter | Description | Version |
---|---|---|
$relativePath | Relative path to file. |
Example
© «Bitrix24», 2001-2024
Up