X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContribute%2FBAO%2FContributionSoft.php;h=a5eaeb3cac2b445b14e9e391fbef49cb8a945875;hb=2f0647c7ae0cf29bc75cf7ab5e4da896a01a8a99;hp=2e8d49da0ea26e230f7ada0eb91d73af615d265a;hpb=ad314df7cc28a13a58caee38ccf30750572c5f11;p=civicrm-core.git diff --git a/CRM/Contribute/BAO/ContributionSoft.php b/CRM/Contribute/BAO/ContributionSoft.php index 2e8d49da0e..a5eaeb3cac 100644 --- a/CRM/Contribute/BAO/ContributionSoft.php +++ b/CRM/Contribute/BAO/ContributionSoft.php @@ -35,14 +35,14 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_ContributionSoft { /** - * Construct method + * Construct method. */ public function __construct() { parent::__construct(); } /** - * Add contribution soft credit record + * Add contribution soft credit record. * * @param array $params * (reference ) an assoc array of name/value pairs. @@ -63,7 +63,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio } /** - * Fetch object based on array of properties + * Fetch object based on array of properties. * * @param array $params * (reference ) an assoc array of name/value pairs. @@ -83,7 +83,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio } /** - * Delete soft credits + * Delete soft credits. * * @param array $params * @@ -113,7 +113,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio $params = array( 1 => array($contact_id, 'Integer'), - 2 => array($isTest, 'Integer') + 2 => array($isTest, 'Integer'), ); $cs = CRM_Core_DAO::executeQuery($query, $params); @@ -237,8 +237,8 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio * * @param int $contact_id * Contact id. - * @param int $isTest * @param string $filter + * @param int $isTest * Additional filter criteria, later used in where clause. * * @return array @@ -377,4 +377,5 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio $form->assign('honorName', $honorName); } } + }