Replace CRM_Utils_Array::value with ?? in variable assignments
[civicrm-core.git] / CRM / Contact / Form / Task / AddToOrganization.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17
18 /**
19 * This class provides the functionality to add contact(s) to Organization.
20 */
21 class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task_AddToParentClass {
22
23 /**
24 * Build the form object.
25 */
26 public function buildQuickForm() {
27 $this->set('contactType', 'Organization');
28 $this->assign('contactType', 'Organization');
29 parent::buildQuickForm();
30 }
31
32 /**
33 * Process the form after the input has been submitted and validated.
34 */
35 public function postProcess() {
36 parent::postProcess();
37 }
38
39 }