From: jitendrapurohit Date: Thu, 9 Apr 2015 11:39:22 +0000 (+0530) Subject: added doc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=803d4bc01c5146400212f28e0b0cf5ab68f03c89;p=civicrm-core.git added doc --- diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index f20ddeb02e..1c2184c9ad 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -35,6 +35,16 @@ /** * This class generates form components for processing a contribution + * CRM-16229 - During the event registration bulk action via search we + * need to inherit CRM_Contact_Form_Task so that we can inherit functions + * like getContactIds and make use of controller state. But this is not possible + * because CRM_Event_Form_Participant inherits this class. + * Ideal situation would be something like + * CRM_Event_Form_Participant extends CRM_Contact_Form_Task, + * CRM_Contribute_Form_AbstractEditPayment + * However this is not possible. Currently PHP does not support multiple + * inheritance. So work around solution is to extend this class with + * CRM_Contact_Form_Task which further extends CRM_Core_Form. * */ class CRM_Contribute_Form_AbstractEditPayment extends CRM_Contact_Form_Task {