X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FTask.php;h=9d1b8672016ab654b655db602e4b71dc00c867c0;hb=11fba9e072614a745bba1acf931d3e414a5c671c;hp=a99253ad253d78c55fcf2631ad7bb5fe92fbf6e0;hpb=20de365359fdf2770bf1e19cb58b9898d568e7e9;p=civicrm-core.git diff --git a/CRM/Contact/Task.php b/CRM/Contact/Task.php index a99253ad25..9d1b867201 100644 --- a/CRM/Contact/Task.php +++ b/CRM/Contact/Task.php @@ -1,9 +1,9 @@ TRUE, ), self::PRINT_CONTACTS => array( - 'title' => ts('Print Contacts'), + 'title' => ts('Print Selected Rows'), 'class' => 'CRM_Contact_Form_Task_Print', 'result' => FALSE, ), @@ -310,7 +310,7 @@ class CRM_Contact_Task { } /** - * show tasks selectively based on the permission level + * Show tasks selectively based on the permission level * of the user * * @param int $permission @@ -369,6 +369,11 @@ class CRM_Contact_Task { return $tasks; } + /** + * @param $value + * + * @return array + */ static function getTask($value) { self::initTasks();