+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_ACL_API {
/**
- * The various type of permissions
+ * The various type of permissions.
*
* @var int
*/
}
/**
- * Get the permissioned where clause for the user
+ * Get the permissioned where clause for the user.
*
* @param int $type
* The type of permission needed.
}
/**
- * Get all the groups the user has access to for the given operation
+ * Get all the groups the user has access to for the given operation.
*
* @param int $type
* The type of permission needed.
) {
static $cache = array();
+ $groups = array();
//@todo this is pretty hacky!!!
//adding a way for unit tests to flush the cache
if ($flush) {