Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code comments #18460

Merged
merged 1 commit into from
Sep 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions CRM/Contribute/Form/ContributionBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,18 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
public $_action;

/**
* Contribution mode e.g express for payment express, notify for off-site + notification back to CiviCRM
* Contribution mode.
*
* In general we are trying to deprecate this parameter but some templates and processors still
* require it to denote whether the processor redirects offsite (notify) or not.
*
* The intent is that this knowledge should not be required and all contributions should
* be created in a pending state and updated based on the payment result without needing to be
* aware of the processor workings.
*
* @var string
*
* @deprecated
*/
public $_contributeMode;

Expand All @@ -179,8 +189,10 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
public $_emailExists = FALSE;

/**
* Is this a backoffice form
* (this will affect whether paypal express code is displayed)
* Is this a backoffice form.
*
* Processors may display different options to backoffice users.
*
* @var bool
*/
public $isBackOffice = FALSE;
Expand Down