<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*
* @params array parameters for Processor entity
*/
+ /**
+ * @param $params
+ *
+ * @return CRM_Financial_DAO_PaymentProcessor
+ * @throws Exception
+ */
static function create($params) {
// FIXME Reconcile with CRM_Admin_Form_PaymentProcessor::updatePaymentProcessor
$processor = new CRM_Financial_DAO_PaymentProcessor();
/**
* Function to delete payment processor
*
- * @param int $paymentProcessorId ID of the processor to be deleted.
+ * @param $paymentProcessorID
+ *
+ * @return null
+ * @internal param int $paymentProcessorId ID of the processor to be deleted.
*
* @access public
* @static
}
}
+ /**
+ * @param $paymentProcessorIDs
+ * @param $mode
+ *
+ * @return array
+ * @throws Exception
+ */
static function getPayments($paymentProcessorIDs, $mode) {
if (!$paymentProcessorIDs) {
CRM_Core_Error::fatal(ts('Invalid value passed to getPayment function'));
/**
* Function to retrieve payment processor id / info/ object based on component-id.
*
- * @param int $componentID id of a component
- * @param string $component component
- * @param string $type type of payment information to be retrieved
+ * @param $entityID
+ * @param string $component component
+ * @param string $type type of payment information to be retrieved
*
+ * @internal param int $componentID id of a component
* @return id / array / object based on type
* @static
* @access public