_aMenuItems2MethodsActions = array ( 'join-group-profile' => 'checkAllowedFanAdd', 'profile-fan-add' => 'checkAllowedFanAdd', 'profile-fan-remove' => 'checkAllowedFanRemove', 'profile-subscribe-add' => 'checkAllowedSubscribeAdd', 'profile-subscribe-remove' => 'checkAllowedSubscribeRemove', 'profile-actions-more' => 'checkAllowedViewMoreMenu', 'convos-compose' => 'checkAllowedCompose', ); $sHtmlPrefix = str_replace('_', '-', $this->_sName); $this->_aHtmlIds = array( 'popup_price' => $sHtmlPrefix . '-popup-price' ); $oPayments = BxDolPayments::getInstance(); $this->_aCurrency = array( 'code' => $oPayments->getOption('default_currency_code'), 'sign' => $oPayments->getOption('default_currency_sign') ); } public function getHtmlIds($sKey = '') { if(empty($sKey)) return $this->_aHtmlIds; return isset($this->_aHtmlIds[$sKey]) ? $this->_aHtmlIds[$sKey] : ''; } public function getCurrency() { return $this->_aCurrency; } public function isPaidJoin() { return !empty($this->CNF['PARAM_MMODE']) && getParam($this->CNF['PARAM_MMODE']) == BX_BASE_MOD_GROUPS_MMODE_PAID_JOIN; } } /** @} */