return FALSE;
}
+ /**
+ * Get the list of view only activities
+ *
+ * @return array
+ */
+ public static function getViewOnlyActivityTypeIDs() {
+ $viewOnlyActivities = [
+ 'Email' => CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_Activity', 'activity_type_id', 'Email'),
+ ];
+ if (self::checkEditInboundEmailsPermissions()) {
+ $viewOnlyActivities['Inbound Email'] = CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_Activity', 'activity_type_id', 'Inbound Email');
+ }
+ return $viewOnlyActivities;
+ }
+
/**
* Wrapper for ajax activity selector.
*
*/
public static $_links = NULL;
+ /**
+ * The action links that we need to display for the browse screen.
+ *
+ * @var array
+ */
+ private static $_actionLinks;
+
/**
* We use desc to remind us what that column is, name is used in the tpl
*