X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FForm%2FMailing%2FDetail.php;h=8a182c971e36360b9e2f689f5eea6f9f2eb922ec;hb=16e2e80cfacf49c5fcd1c47cb77ed35593aa0323;hp=ae75540d9c4c1123f07dcd7fbf0fdb09ec604dd4;hpb=79cffafae988e139ad14440c7502710a23ac15fa;p=civicrm-core.git diff --git a/CRM/Report/Form/Mailing/Detail.php b/CRM/Report/Form/Mailing/Detail.php index ae75540d9c..8a182c971e 100644 --- a/CRM/Report/Form/Mailing/Detail.php +++ b/CRM/Report/Form/Mailing/Detail.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | 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. | | | @@ -29,7 +29,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ * */ @@ -37,6 +37,12 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { protected $_exposeContactID = FALSE; + /** + * + */ + /** + * + */ function __construct() { $this->_columns = array(); @@ -257,21 +263,8 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { 'grouping' => 'contact-fields', ); - $this->_columns['civicrm_group'] = array( - 'dao' => 'CRM_Contact_DAO_Group', - 'alias' => 'cgroup', - 'filters' => - array( - 'gid' => - array( - 'name' => 'group_id', - 'title' => ts('Group'), - 'operatorType' => CRM_Report_Form::OP_MULTISELECT, - 'group' => TRUE, - 'options' => CRM_Core_PseudoConstant::group(), - ), - ), - ); + $this->_groupFilter = TRUE; + $this->_tagFilter = TRUE; parent::__construct(); } @@ -441,6 +434,9 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { $this->_where .= " AND {$this->_aliases['civicrm_mailing']}.sms_provider_id IS NULL"; } + /** + * @return array + */ function mailingList() { $data = array(); @@ -455,6 +451,9 @@ class CRM_Report_Form_Mailing_Detail extends CRM_Report_Form { return $data; } + /** + * @param $rows + */ function alterDisplay(&$rows) { // custom code to alter rows $entryFound = FALSE;