CRM_Upgrade_Incremental_SmartGroups
class CRM_Upgrade_Incremental_SmartGroups
Methods
Perform updates specified by upgrade function.
Convert any
Conversion routine for a form change change from = string to IN array.
Get converted date value.
Rename a smartgroup field.
Rename pairs of fields
No description
Convert the log_date saved search date fields to their correct name default to switching to created_date as that is what the code did originally
Convert Custom date fields in smart groups
Details
at line 40
updateGroups($actions)
Perform updates specified by upgrade function.
at line 57
datePickerConversion(array $fields)
Convert any
at line 162
convertEqualsStringToInArray(string $field)
Conversion routine for a form change change from = string to IN array.
For example a checkbox expected [$fieldName, '=', 1] whereas select expects [$fieldName, 'IN', [1]]
at line 189
protected string
getConvertedDateValue(string $dateValue, bool $isEndOfDay)
Get converted date value.
at line 207
renameField(string $oldName, string $newName)
Rename a smartgroup field.
at line 240
renameFields(array $pairs)
Rename pairs of fields
at line 250
protected mixed
getSearchesWithField($field)
at line 263
renameLogFields()
Convert the log_date saved search date fields to their correct name default to switching to created_date as that is what the code did originally
at line 299
convertCustomSmartGroups()
Convert Custom date fields in smart groups