CRM_Contact_BAO_GroupNestingCache
in package
Tags
Table of Contents
Methods
- checkCyclicGraph() : bool
- getAll() : mixed
- getPotentialCandidates() : array<string|int, mixed>
- invalidate() : mixed
- isCyclic() : bool
- json() : string
- update() : mixed
- Update cache.
Methods
checkCyclicGraph()
public
static checkCyclicGraph(mixed &$tree) : bool
Parameters
- $tree : mixed
Return values
boolgetAll()
public
static getAll(mixed &$all, mixed &$tree, int $id, mixed $token) : mixed
Parameters
- $all : mixed
- $tree : mixed
- $id : int
- $token : mixed
getPotentialCandidates()
public
static getPotentialCandidates(int $id, array<string|int, mixed> &$groups) : array<string|int, mixed>
Parameters
- $id : int
- $groups : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>invalidate()
public
static invalidate(mixed &$potential, mixed &$tree, int $id, mixed $token) : mixed
Parameters
- $potential : mixed
- $tree : mixed
- $id : int
- $token : mixed
isCyclic()
public
static isCyclic(mixed &$tree, int $id) : bool
Parameters
- $tree : mixed
- $id : int
Return values
booljson()
public
static json() : string
Tags
Return values
stringupdate()
Update cache.
public
static update() : mixed