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


PHP CRM_Core_Permission::group方法代码示例

本文整理汇总了PHP中CRM_Core_Permission::group方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Core_Permission::group方法的具体用法?PHP CRM_Core_Permission::group怎么用?PHP CRM_Core_Permission::group使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CRM_Core_Permission的用法示例。


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

示例1: group

 /**
  * Get all permissioned groups from database
  *
  * The static array group is returned, and if it's
  * called the first time, the <b>Group DAO</b> is used 
  * to get all the groups.
  *
  * Note: any database errors will be trapped by the DAO.
  *
  * @param string $groupType     type of group(Access/Mailing) 
  * @param boolen $excludeHidden exclude hidden groups.
  * @access public
  * @static
  *
  * @return array - array reference of all groups.
  *
  */
 public static function group($groupType = null, $excludeHidden = true)
 {
     require_once 'CRM/Core/Permission.php';
     return CRM_Core_Permission::group($groupType, $excludeHidden);
 }
开发者ID:hampelm,项目名称:Ginsberg-CiviDemo,代码行数:22,代码来源:PseudoConstant.php

示例2: group

 /**
  * DEPRECATED. Please use the buildOptions() method in the appropriate BAO object.
  *
  * Get all permissioned groups from database
  *
  * The static array group is returned, and if it's
  * called the first time, the <b>Group DAO</b> is used
  * to get all the groups.
  *
  * Note: any database errors will be trapped by the DAO.
  *
  * @param string $groupType     type of group(Access/Mailing)
  * @param boolen $excludeHidden exclude hidden groups.
  * @access public
  * @static
  *
  * @return array - array reference of all groups.
  *
  */
 public static function group($groupType = NULL, $excludeHidden = TRUE)
 {
     return CRM_Core_Permission::group($groupType, $excludeHidden);
 }
开发者ID:TheCraftyCanvas,项目名称:aegir-platforms,代码行数:23,代码来源:PseudoConstant.php

示例3:

 /**
  * Get all permissioned groups from database
  *
  * The static array group is returned, and if it's
  * called the first time, the <b>Group DAO</b> is used 
  * to get all the groups.
  *
  * Note: any database errors will be trapped by the DAO.
  *
  * @access public
  * @static
  *
  * @return array - array reference of all groups.
  *
  */
 function &group()
 {
     require_once 'CRM/Core/Permission.php';
     return CRM_Core_Permission::group();
 }
开发者ID:bhirsch,项目名称:voipdrupal-4.7-1.0,代码行数:20,代码来源:PseudoConstant.php


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