<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
class CRM_Core_Permission_Drupal6 extends CRM_Core_Permission_DrupalBase {
/**
- * is this user someone with access for the entire system
+ * Is this user someone with access for the entire system
*
* @var boolean
*/
protected $_editAdminUser = FALSE;
/**
- * am in in view permission or edit permission?
+ * Am in in view permission or edit permission?
* @var boolean
*/
protected $_viewPermission = FALSE;
protected $_editPermission = FALSE;
/**
- * the current set of permissioned groups for the user
+ * The current set of permissioned groups for the user
*
* @var array
*/
protected $_editPermissionedGroups;
/**
- * given a permission string, check for access requirements
+ * Given a permission string, check for access requirements
*
* @param string $str the permission to check
*
+ * @param int $contactID
+ *
* @return boolean true if yes, else false
* @access public
*/
* Get the permissions defined in the hook_civicrm_permission implementation
* of the given module.
*
+ * @param $module
+ *
* @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
*/
static function getModulePermissions($module) {