| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup BaseProfile Base classes for profile modules
- * @ingroup UnaModules
- *
- * @{
- */
- class BxBaseModProfileConfig extends BxBaseModGeneralConfig
- {
- protected $_aMenuItems2MethodsActions = array();
- protected $_aMenuItems2MethodsSubmenu = array();
-
- function __construct($aModule)
- {
- parent::__construct($aModule);
- $this->CNF = array(
- 'PARAM_MULTICAT_ENABLED' => false,
- );
-
- $this->_aMenuItems2MethodsActions = array (
- 'profile-friend-add' => 'checkAllowedFriendAdd',
- 'profile-friend-remove' => 'checkAllowedFriendRemove',
- 'profile-relation-add' => 'checkAllowedRelationAdd',
- 'profile-relation-remove' => 'checkAllowedRelationRemove',
- 'profile-subscribe-add' => 'checkAllowedSubscribeAdd',
- 'profile-subscribe-remove' => 'checkAllowedSubscribeRemove',
- 'profile-actions-more' => 'checkAllowedViewMoreMenu',
- 'profile-set-acl-level' => 'checkAllowedSetMembership',
- 'convos-compose' => 'checkAllowedCompose',
- 'messenger' => 'checkAllowedCompose',
- );
- }
- }
- /** @} */
|