}
/**
+ * @deprecated - use the api instead.
+ *
* Get the Activities of a target contact.
*
* @param int $contactId
* array of activity fields
*/
public static function getContactActivity($contactId) {
+ // @todo remove this function entirely.
$activities = array();
$activityContacts = CRM_Core_OptionGroup::values('activity_contacts', FALSE, FALSE, FALSE, NULL, 'name');
$sourceID = CRM_Utils_Array::key('Activity Source', $activityContacts);
'type' => CRM_Utils_Type::T_STRING,
'searchByLabel' => TRUE,
),
+ 'activity_priority' => array(
+ 'title' => ts('Activity Priority'),
+ 'name' => 'activity_priority',
+ 'type' => CRM_Utils_Type::T_STRING,
+ 'searchByLabel' => TRUE,
+ ),
);
$fields = array_merge($Activityfields, $exportableFields);
}