projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4955 from atif-shaikh/master-cleanup
[civicrm-core.git]
/
CRM
/
Contribute
/
BAO
/
ContributionSoft.php
diff --git
a/CRM/Contribute/BAO/ContributionSoft.php
b/CRM/Contribute/BAO/ContributionSoft.php
index f27bc3cb7ef26e8ce4225156f05af2715ad4d904..2e8d49da0ea26e230f7ada0eb91d73af615d265a 100644
(file)
--- a/
CRM/Contribute/BAO/ContributionSoft.php
+++ b/
CRM/Contribute/BAO/ContributionSoft.php
@@
-70,8
+70,7
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
- * @return CRM_Contribute_BAO_ContributionSoft object
- * @static
+ * @return CRM_Contribute_BAO_ContributionSoft
*/
public static function retrieve(&$params, &$defaults) {
$contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
*/
public static function retrieve(&$params, &$defaults) {
$contributionSoft = new CRM_Contribute_DAO_ContributionSoft();
@@
-88,7
+87,6
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
*
* @param array $params
*
*
* @param array $params
*
- * @static
*/
public static function del($params) {
//delete from contribution soft table
*/
public static function del($params) {
//delete from contribution soft table
@@
-114,8
+112,9
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
GROUP BY currency';
$params = array(
GROUP BY currency';
$params = array(
- 1 => array($contact_id, 'Integer'),
- 2 => array($isTest, 'Integer'));
+ 1 => array($contact_id, 'Integer'),
+ 2 => array($isTest, 'Integer')
+ );
$cs = CRM_Core_DAO::executeQuery($query, $params);
$cs = CRM_Core_DAO::executeQuery($query, $params);
@@
-149,8
+148,7
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
* Include PCP data.
*
* @return array
* Include PCP data.
*
* @return array
- * of soft contribution ids, amounts, and associated contact ids
- * @static
+ * Array of soft contribution ids, amounts, and associated contact ids
*/
public static function getSoftContribution($contributionID, $all = FALSE) {
$pcpFields = array(
*/
public static function getSoftContribution($contributionID, $all = FALSE) {
$pcpFields = array(
@@
-244,7
+242,6
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
* Additional filter criteria, later used in where clause.
*
* @return array
* Additional filter criteria, later used in where clause.
*
* @return array
- * @static
*/
public static function getSoftContributionList($contact_id, $filter = NULL, $isTest = 0) {
$query = '
*/
public static function getSoftContributionList($contact_id, $filter = NULL, $isTest = 0) {
$query = '
@@
-310,15
+307,11
@@
class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio
return $result;
}
return $result;
}
- /*
- * Function to assign honor profile fields to template/form, if $honorId (as soft-credit's contact_id)
- * is passed then whole honoreeprofile fields with title/value assoc array assigned or only honoreeName
- * is assigned
- *
- * @static
- */
-
/**
/**
+ * Function to assign honor profile fields to template/form, if $honorId (as soft-credit's contact_id)
+ * is passed then whole honoreeprofile fields with title/value assoc array assigned or only honoreeName
+ * is assigned
+ *
* @param CRM_Core_Form $form
* @param array $params
* @param int $honoreeprofileId
* @param CRM_Core_Form $form
* @param array $params
* @param int $honoreeprofileId