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 add contact(s) to Individual.
21 class CRM_Contact_Form_Task_AddToIndividual
extends CRM_Contact_Form_Task_AddToParentClass
{
24 * Build the form object.
26 public function buildQuickForm() {
27 $this->set('contactType', 'Individual');
28 $this->assign('contactType', 'Individual');
29 parent
::buildQuickForm();
33 * Process the form after the input has been submitted and validated.
35 public function postProcess() {
36 parent
::postProcess();