_sModule = 'bx_help_tours'; $this->_oModule = BxDolModule::getInstance($this->_sModule); parent::__construct($sModule, $mixedPageName, $sPage); $this->aMenuItems = array( 'tours' => array('name' => 'tours', 'icon' => 'info', 'title' => '_bx_help_tours_page_tours'), 'items' => array('name' => 'items', 'icon' => 'list', 'title' => '_bx_help_tours_page_items'), ); } protected function getTours() { bx_import('BxTemplGrid'); $oGrid = BxDolGrid::getObjectInstance('bx_help_tours_tours', BxDolStudioTemplate::getInstance()); if (!$oGrid) return 'The module have to be reinstalled'; return $oGrid->getCode(); } protected function getItems() { bx_import('BxTemplGrid'); $oGrid = BxDolGrid::getObjectInstance('bx_help_tours_items', BxDolStudioTemplate::getInstance()); if (!$oGrid) return 'The module have to be reinstalled'; return $oGrid->getCode(); } } /** @} */