CRM_Core_SelectValues
class CRM_Core_SelectValues
One place to store frequently used values in Select Elements. Note that some of the below elements will be dynamic, so we'll probably have a smart caching scheme on a per domain basis
Methods
Yes/No options
Preferred mail format.
Privacy options.
Various pre defined contact super types.
Various pre defined unit list.
Membership type unit.
Various pre defined period types.
Various pre defined email selection methods.
Various pre defined member visibility options.
Member auto-renew options
Various pre defined event dates.
Custom form field types.
Various pre defined extensions for dynamic properties and groups.
Styles for displaying the custom data group.
For displaying the uf group types.
The status of a contact within a group.
List of Group Types.
Compose the parameters for a date select object.
Values for UF form visibility options.
Values for group form visibility options.
Different type of Mailing Components.
Get hours.
Get minutes.
Get the Map Provider.
Get the Geocoding Providers from available plugins.
Get the Address Standardization Providers from available plugins.
Different type of Mailing Tokens.
Different type of Activity Tokens.
Different type of Membership Tokens.
Different type of Event Tokens.
Different type of Event Tokens.
Different type of Contact Tokens.
Different type of Participant Tokens.
No description
CiviCRM supported date input formats.
Time formats.
Get numeric options.
Barcode types.
Dedupe rule types.
Campaign group types.
Subscription history method.
Premium units.
Extension types.
Job frequency.
Search builder operators.
Profile group types.
Word replacement match type.
Mailing group types.
Mailing Job Status.
No description
No description
Frequency unit for schedule reminders.
Relative Date Terms.
Relative Date Units.
Exportable document formats.
Application type of document.
Activity Text options.
Relationship permissions
Get option values for dashboard entries (used for 'how many events to display on dashboard').
Dropdown options for quicksearch in the menu
Get components (translated for display.
Details
at line 45
static array
boolean()
Yes/No options
at line 57
static array
pmf()
Preferred mail format.
at line 70
static array
privacy()
Privacy options.
at line 86
static array
contactType()
Various pre defined contact super types.
at line 100
static array
unitList(string $unitType = NULL)
Various pre defined unit list.
at line 117
static array
membershipTypeUnitList()
Membership type unit.
at line 126
static array
periodType()
Various pre defined period types.
at line 138
static array
emailSelectMethods()
Various pre defined email selection methods.
at line 152
static array
memberVisibility()
Various pre defined member visibility options.
at line 164
static array
memberAutoRenew()
Member auto-renew options
at line 177
static array
eventDate()
Various pre defined event dates.
at line 190
static array
customHtmlType()
Custom form field types.
at line 217
static array
customGroupExtends()
Various pre defined extensions for dynamic properties and groups.
at line 247
static array
customGroupStyle()
Styles for displaying the custom data group.
at line 260
static array
ufGroupTypes()
For displaying the uf group types.
at line 280
static array
groupContactStatus()
The status of a contact within a group.
at line 293
static array
groupType()
List of Group Types.
at line 315
static array
date(string|null $type = NULL, string|null $format = NULL, null $minOffset = NULL, null $maxOffset = NULL, string $context = 'display')
Compose the parameters for a date select object.
at line 370
static array
ufVisibility()
Values for UF form visibility options.
at line 383
static array
groupVisibility()
Values for group form visibility options.
at line 395
static array
mailingComponents()
Different type of Mailing Components.
at line 413
array
getHours()
Get hours.
at line 426
array
getMinutes()
Get minutes.
at line 440
static array
mapProvider()
Get the Map Provider.
at line 454
static array
geoProvider()
Get the Geocoding Providers from available plugins.
at line 468
static array
addressProvider()
Get the Address Standardization Providers from available plugins.
at line 481
static array
mailingTokens()
Different type of Mailing Tokens.
at line 507
static array
activityTokens()
Different type of Activity Tokens.
at line 521
static array
membershipTokens()
Different type of Membership Tokens.
at line 538
static array
eventTokens()
Different type of Event Tokens.
at line 562
static array
contributionTokens()
Different type of Event Tokens.
at line 595
static array
contactTokens()
Different type of Contact Tokens.
at line 670
static array
participantTokens()
Different type of Participant Tokens.
at line 712
static array
caseTokens(int $caseTypeId = NULL)
at line 732
static array
getDatePluginInputFormats()
CiviCRM supported date input formats.
at line 757
static array
getTimeFormats()
Time formats.
at line 772
static array
getNumericOptions(int $start = 0, int $end = 10)
Get numeric options.
at line 785
static array
getBarcodeTypes()
Barcode types.
at line 797
static array
getDedupeRuleTypes()
Dedupe rule types.
at line 810
static array
getCampaignGroupTypes()
Campaign group types.
at line 822
static array
getSubscriptionHistoryMethods()
Subscription history method.
at line 836
static array
getPremiumUnits()
Premium units.
at line 850
static array
getExtensionTypes()
Extension types.
at line 865
static array
getJobFrequency()
Job frequency.
at line 884
static array
getSearchBuilderOperators($fieldType = NULL)
Search builder operators.
at line 909
static array
getProfileGroupType()
Profile group types.
at line 928
static array
getWordReplacementMatchType()
Word replacement match type.
at line 940
static array
getMailingGroupTypes()
Mailing group types.
at line 953
static array
getMailingJobStatus()
Mailing Job Status.
at line 966
static array
billingMode()
at line 977
static array
contributeMode()
at line 992
static array
getRecurringFrequencyUnits(int $count = 1)
Frequency unit for schedule reminders.
at line 1010
static array
getRelativeDateTerms()
Relative Date Terms.
at line 1035
static array
getRelativeDateUnits()
Relative Date Units.
at line 1051
static array
documentFormat()
Exportable document formats.
at line 1065
static array
documentApplicationType()
Application type of document.
at line 1077
static array
activityTextOptions()
Activity Text options.
at line 1090
static array
getPermissionedRelationshipOptions()
Relationship permissions
at line 1104
static array
getDashboardEntriesCount()
Get option values for dashboard entries (used for 'how many events to display on dashboard').
at line 1118
static array
quicksearchOptions()
Dropdown options for quicksearch in the menu
at line 1155
static array
getComponentSelectValues()
Get components (translated for display.