return CRM_Core_PseudoConstant::activityStatus();
}
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [
'activity_date_time' => ts('Activity Date'),
];
return CRM_Core_OptionGroup::values('contact_date_reminder_options');
}
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [
'date_field' => ts('Date Field'),
];
return CRM_Contribute_BAO_Contribution::buildOptions('contribution_status_id', 'get', []);
}
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [
'receive_date' => ts('Receive Date'),
'cancel_date' => ts('Cancel Date'),
return CRM_Event_PseudoConstant::participantStatus(NULL, NULL, 'label');
}
- /**
- * Get a list of available date fields.
- *
- * @return array
- * Array(string $fieldName => string $fieldLabel).
- */
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [
'start_date' => ts('Event Start'),
'end_date' => ts('Event End'),
return [];
}
- /**
- * Get a list of available date fields.
- *
- * @return array
- * Array(string $fieldName => string $fieldLabel).
- */
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [
'join_date' => ts('Member Since'),
'start_date' => ts('Membership Start Date'),
return FALSE;
}
- public function getDateFields(): array {
+ public function getDateFields(?array $entityValue = NULL): array {
return [];
}
public function getStatusLabels(?array $entityValue): array;
/**
- * Get a list of available date fields.
+ * Get option list for `start_action_date` & `end_date` fields.
*
+ * @param array|null $entityValue
+ * Selected value(s) of the `entity_value` field.
* @return array
- * Array(string $fieldName => string $fieldLabel).
*/
- public function getDateFields(): array;
+ public function getDateFields(?array $entityValue = NULL): array;
/**
* Get the option list for `limit_to` (non-associative format)