+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CiviCRM_Hook
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id: $
*
*/
}
/**
- * This hook is called before a db write on a custom table.
+ * This hook is called after a db write on a custom table.
*
* @param string $op
* The type of operation being performed.
* - name: string, eg "sql:civicrm_email:contact_id"
* - type: string, eg "sql"
* - count: int, eg "5" if there are 5 email addresses that refer to $dao
- * @return void
+ *
+ * @return mixed
+ * Return is not really intended to be used.
*/
public static function referenceCounts($dao, &$refCounts) {
return self::singleton()->invoke(2, $dao, $refCounts,
*
* Definition will look like this:
*
- * function hook_civicrm_alterPaymentProcessorParams($paymentObj,
- * &$rawParams, &$cookedParams);
+ * function hook_civicrm_alterPaymentProcessorParams(
+ * $paymentObj,
+ * &$rawParams,
+ * &$cookedParams
+ * );
*
- * @param string $paymentObj
- * instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
+ * @param CRM_Core_Payment $paymentObj
+ * Instance of payment class of the payment processor invoked (e.g., 'CRM_Core_Payment_Dummy')
+ * See discussion in CRM-16224 as to whether $paymentObj should be passed by reference.
* @param array &$rawParams
* array of params as passed to to the processor
* @param array &$cookedParams
* params after the processor code has translated them into its own key/value pairs
*
* @return mixed
+ * This return is not really intended to be used.
*/
public static function alterPaymentProcessorParams(
$paymentObj,