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 +--------------------------------------------------------------------+
13 * Class CRM_Export_Controller_Standalone
15 class CRM_Contribute_Controller_Task
extends CRM_Core_Controller_Task
{
18 * Get the name used to construct the class.
22 public function getEntity():string {
23 return 'Contribution';
27 * Get the available tasks for the entity.
31 public function getAvailableTasks():array {
32 return CRM_Contribute_Task
::tasks();
36 * Override parent to avoid e-notice if the page is 'Search'.
38 * There are no form values for Search when the standalone processor is used
41 * @param string $pageName
45 public function exportValues($pageName = NULL) {
46 if ($pageName === 'Search') {
49 return parent
::exportValues($pageName);