else {
CRM_Core_Session::setStatus(ts("Report mail could not be sent."), ts('Mail Error'), 'error');
}
- return TRUE;
+ return;
}
elseif ($this->_outputMode == 'print') {
echo $content;
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_ActivitySummary extends CRM_Report_Form {
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Case_Demographics extends CRM_Report_Form {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Case_Summary extends CRM_Report_Form {
protected $_customGroupExtends = array('Case');
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->case_types = CRM_Case_PseudoConstant::caseType();
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Case_TimeSpent extends CRM_Report_Form {
+
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Contact_CurrentEmployer extends CRM_Report_Form {
public $_drilldownReport = array('contact/detail' => 'Link to Detail Report');
/**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Contact_Detail extends CRM_Report_Form {
const ROW_COUNT_LIMIT = 10;
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Contact_Log extends CRM_Report_Form {
protected $_summary = NULL;
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Contact_Summary extends CRM_Report_Form {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
protected $_addressField = FALSE;
/**
* This function appears to have been overrriden for the purposes of facilitating soft credits in the report.
*
- * An alternative approach would have been to have had 2 reports.
- * 1) contribution report with optional join extending the retrievable fields & filters with soft credit data
- * 2) soft credit report - showing a row per 'payment engagement' (payment or soft credit).
+ * The report appears to have 2 different functions:
+ * 1) contribution report
+ * 2) soft credit report - showing a row per 'payment engagement' (payment or soft credit). There is a separate
+ * soft credit report as well.
*
- * As it is many people are confused by the duplicate rows in 'soft credit mode' and this report is complex
- * and slowed down by soft credit calculations regardless of whether that information is desired.
+ * Somewhat confusingly this report returns multiple rows per contribution when soft credits are included. It feels
+ * like there is a case to split it into 2 separate reports.
*
* Soft credit functionality is not currently unit tested for this report.
*/
*
*/
class CRM_Report_Form_Contribute_PCP extends CRM_Report_Form {
+
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
* Set from clause.
*
* @param string $entity
+ *
+ * @todo fix function signature to match parent. Remove hacky passing of $entity
+ * to acheive unclear results.
*/
public function from($entity = NULL) {
$softCreditJoinType = "LEFT";
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Event_IncomeCountSummary extends CRM_Report_Form_Event {
public $_drilldownReport = array('event/participantlist' => 'Link to Detail Report');
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Event_ParticipantListCount extends CRM_Report_Form_Event {
public $_drilldownReport = array('event/income' => 'Link to Detail Report');
/**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event {
public $_drilldownReport = array('event/income' => 'Link to Detail Report');
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_autoIncludeIndexedFieldsAsOrderBys = 1;
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Event_Summary extends CRM_Report_Form_Event {
public $_drilldownReport = array('event/income' => 'Link to Detail Report');
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Grant_Detail extends CRM_Report_Form {
);
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Grant_Statistics extends CRM_Report_Form {
protected $_add2groupSupported = FALSE;
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Mailing_Opened extends CRM_Report_Form {
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array();
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Mailing_Summary extends CRM_Report_Form {
public $campaignEnabled = FALSE;
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array();
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
protected $_addressField = FALSE;
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
$config = CRM_Core_Config::singleton();
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
'title' => ts('First Name'),
'no_repeat' => TRUE,
),
- 'id' => array(
- 'no_display' => TRUE,
- 'required' => TRUE,
- ),
'last_name' => array(
'title' => ts('Last Name'),
'no_repeat' => TRUE,
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Member_Summary extends CRM_Report_Form {
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form {
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Pledge_Pbnp extends CRM_Report_Form {
protected $_charts = array(
);
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
/**
*/
/**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2016
- * $Id$
- *
*/
class CRM_Report_Form_Walklist_Walklist extends CRM_Report_Form {
protected $_addressField = FALSE;
);
/**
- */
- /**
+ * Class constructor.
*/
public function __construct() {
$this->_columns = array(