Merge pull request #18286 from sunilpawar/ui_30
[civicrm-core.git] / CRM / Contact / Form / Task / AddToOrganization.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
bc77d7c0
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035
TO
16 */
17
18/**
5a409b50 19 * This class provides the functionality to add contact(s) to Organization.
6a488035 20 */
ee17a760 21class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task_AddToParentClass {
6a488035
TO
22
23 /**
fe482240 24 * Build the form object.
6a488035 25 */
00be9182 26 public function buildQuickForm() {
229b180c 27 $this->set('contactType', 'Organization');
28 $this->assign('contactType', 'Organization');
29 parent::buildQuickForm();
6a488035
TO
30 }
31
32 /**
fe482240 33 * Process the form after the input has been submitted and validated.
6a488035
TO
34 */
35 public function postProcess() {
b92af807 36 parent::postProcess();
6a488035
TO
37 }
38
39}