Documentation

CRM_Contact_BAO_GroupNestingCache
in package

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

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
bool

getAll()

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
throws
CRM_Core_Exception
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
bool

        
On this page

Search results