Skip to content
Snippets Groups Projects
Unverified Commit c3f11e34 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #589 from artfulrobot/patch-2

Update hook_civicrm_aclWhereClause.md
parents e1722f02 8ad7d3c3
Branches
No related tags found
No related merge requests found
......@@ -26,7 +26,8 @@ query is performed. Those will join onto the
select clause
- array $whereTables - (reference ) add the tables that are needed
for the where clause
- int $contactID - the contactID for whom the check is made
- int $contactID - the contactID for whom the check is made, i.e. the ContactID of
the user trying to access the contacts.
- string $where - the currrent where clause
## Returns
......@@ -84,4 +85,4 @@ query is performed. Those will join onto the
if ( ! empty( $clauses ) ) {
$where .= ' AND (' . implode( ' OR ', $clauses ) . ')';
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment