CRM_Case_XMLProcessor
class CRM_Case_XMLProcessor
Properties
static array|null | $activityTypes | FIXME: This does NOT belong in a static property, but we're too late in the 4.5-cycle to do the necessary cleanup. |
Methods
No description
This function was previously used to convert a case-type's machine-name to a file-name. However, it's mind-boggling that the file-name might be a munged version of the machine-name (which is itself a munged version of the display-name), and naming is now a more visible issue (since the overhaul of CaseType admin UI).
No description
Get all relationship type display labels (not machine names)
FIXME: This should not exist
Details
at line 50
FALSE|SimpleXMLElement
retrieve($caseType)
at line 73
static string
mungeCaseType(string $caseType)
deprecated
deprecated
This function was previously used to convert a case-type's machine-name to a file-name. However, it's mind-boggling that the file-name might be a munged version of the machine-name (which is itself a munged version of the display-name), and naming is now a more visible issue (since the overhaul of CaseType admin UI).
Usage note: This is called externally by civix stubs as a sort of side-ways validation of the case-type's name (validation which was needed because of the unintuitive double-munge). We should update civix templates and then remove this function in Civi 4.6 or 5.0.
at line 86
array
allActivityTypes(bool $indexName = TRUE, bool $all = FALSE)
at line 105
array
allRelationshipTypes(bool $fromXML = FALSE)
Get all relationship type display labels (not machine names)
at line 137
static
flushStaticCaches()
FIXME: This should not exist