当前位置: 首页>>代码示例>>PHP>>正文


PHP defineMembershipActions函数代码示例

本文整理汇总了PHP中defineMembershipActions函数的典型用法代码示例。如果您正苦于以下问题:PHP defineMembershipActions函数的具体用法?PHP defineMembershipActions怎么用?PHP defineMembershipActions使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了defineMembershipActions函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this);
     $this->_iOwnerId = 0;
     //--- Define Membership Actions ---//
     defineMembershipActions(array('timeline repost', 'timeline post comment', 'timeline delete comment'), 'ACTION_ID_');
 }
开发者ID:boonex,项目名称:dolphin.pro,代码行数:12,代码来源:BxWallModule.php

示例2: BxWallModule

 /**
  * Constructor
  */
 function BxWallModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->_oConfig->init($this->_oDb);
     $this->_oTemplate->init($this);
     $this->_iOwnerId = 0;
     $this->_sJsPostObject = $this->_oConfig->getJsObject('post');
     $this->_sJsViewObject = $this->_oConfig->getJsObject('view');
     $this->_sJsOutlineObject = $this->_oConfig->getJsObject('outline');
     //--- Define Membership Actions ---//
     defineMembershipActions(array('timeline post comment', 'timeline delete comment'), 'ACTION_ID_');
 }
开发者ID:noormcs,项目名称:studoro,代码行数:15,代码来源:BxWallModule.php

示例3: BxWallModule

 /**
  * Constructor
  */
 function BxWallModule($aModule)
 {
     parent::BxDolModule($aModule);
     $this->_oConfig->init($this->_oDb);
     $this->_bJsMode = false;
     $this->_iOwnerId = 0;
     $this->_aHandlers = array();
     foreach ($this->_oDb->getHandlers() as $aHandler) {
         $this->_aHandlers[$aHandler['alert_unit'] . '_' . $aHandler['alert_action']] = $aHandler;
     }
     $this->_sJsPostObject = 'oWallPost';
     $this->_sJsViewObject = 'oWallView';
     //--- Define Membership Actions ---//
     defineMembershipActions(array('wall post comment', 'wall delete comment'), 'ACTION_ID_');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:18,代码来源:BxWallModule.php

示例4: __construct

 /**
  * Constructor
  */
 function __construct($aModule)
 {
     parent::__construct($aModule);
     //--- Define Membership Actions ---//
     defineMembershipActions(array('feedback delete'), 'ACTION_ID_');
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:9,代码来源:BxFdbModule.php

示例5: _defineActions

 function _defineActions()
 {
     defineMembershipActions(array('groups view group', 'groups browse', 'groups search', 'groups add group', 'groups comments delete and edit', 'groups edit any group', 'groups delete any group', 'groups mark as featured', 'groups approve groups', 'groups broadcast message'));
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:4,代码来源:BxGroupsModule.php

示例6: _defineActions

 function _defineActions()
 {
     defineMembershipActions(array('use simple messenger'));
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:4,代码来源:BxSimpleMessengerModule.php

示例7: _defineActions

 function _defineActions()
 {
     defineMembershipActions(array('avatar upload', 'avatar edit any', 'avatar delete any'));
 }
开发者ID:noormcs,项目名称:studoro,代码行数:4,代码来源:BxAvaModule.php

示例8: _isMembershipEnabledFor

 function _isMembershipEnabledFor($iProfileId, $sMembershipActionConstant, $isPerformAction = false)
 {
     defineMembershipActions(array('photos add', 'photos view', 'sounds view', 'videos view'));
     if (!defined($sMembershipActionConstant)) {
         return false;
     }
     $aCheck = checkAction($iProfileId ? $iProfileId : $_COOKIE['memberID'], constant($sMembershipActionConstant), $isPerformAction);
     return $aCheck[CHECK_ACTION_RESULT] == CHECK_ACTION_RESULT_ALLOWED;
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:9,代码来源:BxDolXMLRPCMedia.php

示例9: BxArlModule

 /**
  * Constructor
  */
 function BxArlModule($aModule)
 {
     parent::BxDolTextModule($aModule);
     //--- Define Membership Actions ---//
     defineMembershipActions(array('articles delete'), 'ACTION_ID_');
 }
开发者ID:dalinhuang,项目名称:shopexts,代码行数:9,代码来源:BxArlModule.php

示例10: defineForumActions

function defineForumActions()
{
    defineMembershipActions(array('forum public read', 'forum public post', 'forum private read', 'forum private post', 'forum search', 'forum edit all', 'forum delete all', 'forum make sticky', 'forum del topics', 'forum move topics', 'forum hide topics', 'forum unhide topics', 'forum hide posts', 'forum unhide posts', 'forum files download'));
}
开发者ID:noormcs,项目名称:studoro,代码行数:4,代码来源:callback.php

示例11: _defineActions

 /**
  * Define all membership actions
  *
  * @return void
  */
 function _defineActions()
 {
     defineMembershipActions(array('shoutbox use', 'shoutbox delete messages', 'shoutbox block by ip'));
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:9,代码来源:BxShoutBoxModule.php

示例12: BxFdbModule

 /**
  * Constructor
  */
 function BxFdbModule($aModule)
 {
     parent::BxDolTextModule($aModule);
     //--- Define Membership Actions ---//
     defineMembershipActions(array('feedback delete'), 'ACTION_ID_');
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:9,代码来源:BxFdbModule.php

示例13: _defineActions

 function _defineActions()
 {
     defineMembershipActions(array('clonetwo view clonetwo', 'clonetwo browse', 'clonetwo search', 'clonetwo add clonetwo', 'clonetwo comments delete and edit', 'clonetwo edit any clonetwo', 'clonetwo delete any clonetwo', 'clonetwo mark as featured', 'clonetwo approve clonetwo', 'clonetwo broadcast message'), 'ML_');
 }
开发者ID:scriptologist,项目名称:Multi-Module-Creator-Plus,代码行数:4,代码来源:MlClonetwoModule.php

示例14: _defineActions

 function _defineActions()
 {
     defineMembershipActions(array('ads view', 'ads browse', 'ads search', 'ads add', 'ads edit any ad', 'ads delete any ad', 'ads approving'));
 }
开发者ID:newton27,项目名称:dolphin.pro,代码行数:4,代码来源:BxAdsModule.php

示例15: _defineActions

 function _defineActions()
 {
     $aActionList = $this->_defineActionsArray();
     defineMembershipActions($aActionList);
 }
开发者ID:Gotgot59,项目名称:dolphin.pro,代码行数:5,代码来源:BxDolFilesModule.php


注:本文中的defineMembershipActions函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。