Add docblock comment to help with CRM-20058
authoreileen <emcnaughton@wikimedia.org>
Tue, 7 Mar 2017 05:28:25 +0000 (18:28 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 7 Mar 2017 05:28:25 +0000 (18:28 +1300)
CRM/Financial/BAO/PaymentProcessor.php

index 80125a8edc5cd3d3b7f2177d51cb7d48887fe204..0805e17cec03c3850f19bf28cbc1dd4d67cbf6e3 100644 (file)
@@ -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