CRM_Case_XMLRepository
class CRM_Case_XMLRepository
Properties
protected array |
$xml | ||
protected array|NULL | $hookCache | ||
protected array|NULL | $allCaseTypes |
Methods
static CRM_Case_XMLRepository
singleton(bool $fresh = FALSE)
No description
__construct(array $allCaseTypes = NULL, array $xml = array())
Class constructor.
FALSE|SimpleXMLElement
retrieve(string $caseType)
Retrieve case.
SimpleXMLElement|FALSE
retrieveFile(string $caseType)
Retrieve file.
null|string
findXmlFile(string $caseType)
Find xml file.
array
getCaseTypesViaHook()
No description
array
getAllCaseTypes()
No description
array
getAllDeclaredActivityTypes()
No description
array
getAllDeclaredRelationshipTypes()
No description
int
getActivityReferenceCount(string $activityType)
Determine the number of times a particular activity-type is referenced in CiviCase XML.
int
getRelationshipReferenceCount(string $relationshipTypeName)
Determine the number of times a particular activity-type is referenced in CiviCase XML.
Details
at line 59
static CRM_Case_XMLRepository
singleton(bool $fresh = FALSE)
at line 72
__construct(array $allCaseTypes = NULL, array $xml = array())
Class constructor.
at line 85
FALSE|SimpleXMLElement
retrieve(string $caseType)
Retrieve case.
at line 121
SimpleXMLElement|FALSE
retrieveFile(string $caseType)
Retrieve file.
at line 156
null|string
findXmlFile(string $caseType)
Find xml file.
at line 216
array
getCaseTypesViaHook()
at line 227
array
getAllCaseTypes()
at line 237
array
getAllDeclaredActivityTypes()
at line 254
array
getAllDeclaredRelationshipTypes()
at line 276
int
getActivityReferenceCount(string $activityType)
Determine the number of times a particular activity-type is referenced in CiviCase XML.
at line 296
int
getRelationshipReferenceCount(string $relationshipTypeName)
Determine the number of times a particular activity-type is referenced in CiviCase XML.