_sModule = 'bx_editor'; $this->_oModule = BxDolModule::getInstance($this->_sModule); parent::__construct($sModule, $mixedPageName, $sPage); $this->aMenuItems = array( 'settings' => array('name' => 'mini', 'icon' => 'battery-empty', 'title' => '_bx_editor_mini'), 'standard' => array('name' => 'standard', 'icon' => 'battery-half', 'title' => '_bx_editor_standard'), 'full' => array('name' => 'full', 'icon' => 'battery-full', 'title' => '_bx_editor_full'), ); } protected function getSettings() { return $this->getGrid('mini'); } protected function getStandard() { return $this->getGrid('standard'); } protected function getFull() { return $this->getGrid('full'); } protected function getGrid($sMode) { $sGrid = 'bx_editor_toolbar'; $oGrid = BxDolGrid::getObjectInstance($sGrid, BxDolStudioTemplate::getInstance()); if(!$oGrid) return ''; return $oGrid->getCode(); } } /** @} */