X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FContribute%2FBAO%2FQuery.php;h=e2ad9a1eda0b1be6ad9a41855dbde033a5602bff;hb=4efac9c8b7c0f55188c44d85340a2085871c07c5;hp=c0d5791315b530c3a5c185846bf984fc7eba3e09;hpb=17d83a01db1059f95af45e3bd8898e353e52c02c;p=civicrm-core.git diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index c0d5791315..e2ad9a1eda 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -23,19 +23,18 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ - * */ class CRM_Contribute_BAO_Query { /** - * Static field for all the export/import contribution fields + * Static field for all the export/import contribution fields. * * @var array */ @@ -63,7 +62,7 @@ class CRM_Contribute_BAO_Query { } /** - * If contributions are involved, add the specific contribute fields + * If contributions are involved, add the specific contribute fields. * * @param $query * @@ -362,7 +361,6 @@ class CRM_Contribute_BAO_Query { case 'financial_type': $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause($fields[$name]['where'], $op, $value, 'String'); - CRM_Core_Error::debug('$query', $query->_where[$grouping]); list($op, $value) = CRM_Contact_BAO_Query::buildQillForFieldValue('CRM_Contribute_DAO_Contribution', $name, $value, $op); $query->_qill[$grouping][] = ts('%1 %2 %3', array(1 => $fields[$name]['title'], 2 => $op, 3 => $value)); $query->_tables['civicrm_contribution'] = $query->_whereTables['civicrm_contribution'] = 1; @@ -852,7 +850,7 @@ class CRM_Contribute_BAO_Query { } /** - * Add all the elements shared between contribute search and advnaced search + * Add all the elements shared between contribute search and advnaced search. * * * @param CRM_Core_Form $form @@ -1020,7 +1018,7 @@ class CRM_Contribute_BAO_Query { } /** - * Add the where for dates + * Add the where for dates. * * @param array $values * Array of query values. @@ -1063,4 +1061,5 @@ class CRM_Contribute_BAO_Query { 'contribution_recur_failure_retry_date' => ts('Failed Recurring Contribution Retry Date'), ); } + }