3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * This class provides the functionality to email a group of
22 class CRM_Event_Form_Task_Email
extends CRM_Event_Form_Task
{
23 use CRM_Contact_Form_Task_EmailTrait
;
26 * Build all the data structures needed to build the form.
28 public function preProcess() {
29 CRM_Contact_Form_Task_EmailCommon
::preProcessFromAddress($this);
32 // we have all the participant ids, so now we get the contact ids
33 parent
::setContactIDs();
35 $this->assign('single', $this->_single
);
39 * List available tokens for this form.
43 public function listTokens() {
44 $tokens = CRM_Core_SelectValues
::contactTokens();