array('name' => BX_DOL_STUDIO_LANG_TYPE_SETTINGS, 'caption' => '_adm_lmi_cpt_settings', 'icon' => 'cogs') ); public function __construct($sModule, $mixedPageName, $sPage = "") { parent::__construct($sModule, $mixedPageName, $sPage); $this->oHelper = BxTemplStudioLanguages::getInstance(); } public function getPageCaption() { $oTemplate = BxDolStudioTemplate::getInstance(); $aTmplVars = array( 'js_object' => $this->getPageJsObject(), 'content' => parent::getPageCaption(), ); return $oTemplate->parseHtmlByName('lang_page_caption.html', $aTmplVars); } protected function getSettings() { $oPage = new BxTemplStudioSettings($this->sModule); return BxDolStudioTemplate::getInstance()->parseHtmlByName('language.html', array( 'content' => $oPage->getFormCode() )); } } /** @} */