_sModule = 'bx_credits'; $this->_oModule = BxDolModule::getInstance($this->_sModule); } protected function _isVisible ($a) { if(!parent::_isVisible($a)) return false; $bResult = true; switch ($a['name']) { case 'credits-withdrawals-common': case 'credits-withdrawals-administration': $bResult = $this->_oModule->_oConfig->isWithdraw(); break; } return $bResult; } } /** @} */