projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for CRM-10331 group_id parameter ignored in API for GroupContact
[civicrm-core.git]
/
CRM
/
Contact
/
Task.php
diff --git
a/CRM/Contact/Task.php
b/CRM/Contact/Task.php
index 5c7f45be679da9118bd8bc14f7f3826fb1c0c4f2..9d1b8672016ab654b655db602e4b71dc00c867c0 100644
(file)
--- a/
CRM/Contact/Task.php
+++ b/
CRM/Contact/Task.php
@@
-67,7
+67,7
@@
class CRM_Contact_Task {
COMMUNICATION_PREFS = 25;
/**
COMMUNICATION_PREFS = 25;
/**
- *
t
he task array
+ *
T
he task array
*
* @var array
* @static
*
* @var array
* @static
@@
-75,7
+75,7
@@
class CRM_Contact_Task {
static $_tasks = NULL;
/**
static $_tasks = NULL;
/**
- *
t
he optional task array
+ *
T
he optional task array
*
* @var array
* @static
*
* @var array
* @static
@@
-310,7
+310,7
@@
class CRM_Contact_Task {
}
/**
}
/**
- *
s
how tasks selectively based on the permission level
+ *
S
how tasks selectively based on the permission level
* of the user
*
* @param int $permission
* of the user
*
* @param int $permission
@@
-369,6
+369,11
@@
class CRM_Contact_Task {
return $tasks;
}
return $tasks;
}
+ /**
+ * @param $value
+ *
+ * @return array
+ */
static function getTask($value) {
self::initTasks();
static function getTask($value) {
self::initTasks();