From c1f955671a8025c1b89072f8a86dc3a4f8361984 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 7 Mar 2017 18:28:25 +1300 Subject: [PATCH] Add docblock comment to help with CRM-20058 --- CRM/Financial/BAO/PaymentProcessor.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CRM/Financial/BAO/PaymentProcessor.php b/CRM/Financial/BAO/PaymentProcessor.php index 80125a8edc..0805e17cec 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -402,6 +402,21 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces /** * Is there a processor on this site with the specified capability. + * + * The capabilities are defined on CRM_Core_Payment and can be extended by + * processors. + * + * examples are + * - supportsBackOffice + * - supportsLiveMode + * - supportsFutureRecurDate + * - supportsCancelRecurring + * - supportsRecurContributionsForPledges + * + * They are passed as array('BackOffice'); + * + * Details of specific functions are in the docblocks on the CRM_Core_Payment class. + * * @param array $capabilities * * @return bool -- 2.25.1