/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
if ($this->compID == 99) {
$report .= " AND v.component_id IS NULL ";
$this->_compName = 'Contact';
- } else {
+ }
+ else {
$report .= " AND v.component_id = {$this->compID} ";
$cmpName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_Component', $this->compID,
'name', 'id'
ORDER BY v.weight";
$dao = CRM_Core_DAO::executeQuery($sql, array(
- 1 => array(CRM_Core_Config::domainID(), 'Integer'),
- ));
-
+ 1 => array(CRM_Core_Config::domainID(), 'Integer'),
+ ));
$config = CRM_Core_Config::singleton();
- $rows = array();
- $url = 'civicrm/report/instance';
+ $rows = array();
+ $url = 'civicrm/report/instance';
while ($dao->fetch()) {
if (in_array($dao->report_id, self::$_exceptions)) {
continue;
}
}
}
-
return $rows;
}
/**
- * run this page (figure out the action needed and perform it).
+ * Run this page (figure out the action needed and perform it).
*
* @return void
*/
$this->ovID = CRM_Utils_Request::retrieve('ovid', 'Positive', $this);
$this->compID = CRM_Utils_Request::retrieve('compid', 'Positive', $this);
$this->grouping = CRM_Utils_Request::retrieve('grp', 'String', $this);
-
+
$rows = $this->info();
$this->assign('list', $rows);