$event[$event_id]['is_full'] = $event[$event_id]['available_places'] == 0 ? 1 : 0;
}
-
/**
* Get event list parameters.
*
'id' => $row[$request['id_field']],
'label' => $row[$request['label_field']],
'description' => [
- CRM_Core_Pseudoconstant::getLabel(
- 'CRM_Event_BAO_Event',
- 'event_type_id',
- $row['event_type_id']
- ),
+ CRM_Core_PseudoConstant::getLabel('CRM_Event_BAO_Event', 'event_type_id', $row['event_type_id']),
],
];
if (!empty($row['start_date'])) {