*
* @param int $contactID
*
- * @return boolean true if yes, else false
+ * @return boolean
+ * true if yes, else false
*/
public function check($str, $contactID = NULL) {
$str = $this->translatePermission($str, 'Drupal6', array(
* @param array $array
* The roles to check.
*
- * @return boolean true if yes, else false
+ * @return boolean
+ * true if yes, else false
*/
public function checkGroupRole($array) {
* @param string $roleName
* Name of the role we are interested in.
*
- * @return string a comma separated list of email addresses
+ * @return string
+ * a comma separated list of email addresses
*/
public function roleEmails($roleName) {
static $_cache = array();
* @param string $permissionName
* Name of the permission we are interested in.
*
- * @return string a comma separated list of email addresses
+ * @return string
+ * a comma separated list of email addresses
*/
public function permissionEmails($permissionName) {
static $_cache = array();
*
* @param $module
*
- * @return Array of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
+ * @return Array
+ * of permissions, in the same format as CRM_Core_Permission::getCorePermissions().
*/
public static function getModulePermissions($module) {
$return_permissions = array();