e2710fee |
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 gets the name of the file to upload |
20 | */ |
21 | class CRM_Member_Export_Form_Select extends CRM_Export_Form_Select { |
22 | |
f95d7a08 |
23 | /** |
24 | * Call the pre-processing function. |
25 | */ |
26 | protected function callPreProcessing(): void { |
27 | CRM_Member_Form_Task::preProcessCommon($this); |
28 | } |
29 | |
30 | /** |
31 | * Does this export offer contact merging. |
32 | * |
33 | * @return bool |
34 | */ |
35 | protected function isShowContactMergeOptions() { |
36 | return FALSE; |
37 | } |
38 | |
ab3e9e4c |
39 | /** |
40 | * Get the name of the table for the relevant entity. |
41 | * |
42 | * @return string |
43 | */ |
44 | public function getTableName() { |
45 | return 'civicrm_membership'; |
46 | } |
47 | |
48 | /** |
49 | * Get the group by clause for the component. |
50 | * |
51 | * @return string |
52 | */ |
53 | public function getEntityAliasField() { |
54 | return 'membership_id'; |
55 | } |
56 | |
e2710fee |
57 | } |