5 +--------------------------------------------------------------------+
6 | CiviCRM version 4.3 |
7 +--------------------------------------------------------------------+
8 | Copyright CiviCRM LLC (c) 2004-2013 |
9 +--------------------------------------------------------------------+
10 | This file is a part of CiviCRM. |
12 | CiviCRM is free software; you can copy, modify, and distribute it |
13 | under the terms of the GNU Affero General Public License |
14 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
16 | CiviCRM is distributed in the hope that it will be useful, but |
17 | WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
19 | See the GNU Affero General Public License for more details. |
21 | You should have received a copy of the GNU Affero General Public |
22 | License and the CiviCRM Licensing Exception along |
23 | with this program; if not, contact CiviCRM LLC |
24 | at info[AT]civicrm[DOT]org. If you have questions about the |
25 | GNU Affero General Public License or the licensing of CiviCRM, |
26 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
27 +--------------------------------------------------------------------+
31 * This class introduces component to the system and provides all the
32 * information about it. It needs to extend CRM_Core_Component_Info
36 * @copyright CiviCRM LLC (c) 2004-2013
40 class CRM_Report_Info
extends CRM_Core_Component_Info
{
42 // docs inherited from interface
43 protected $keyword = 'report';
45 // docs inherited from interface
46 public function getInfo() {
48 'name' => 'CiviReport',
49 'translatedName' => ts('CiviReport'),
50 'title' => 'CiviCRM Report Engine',
52 'showActivitiesInCore' => 1,
57 // docs inherited from interface
58 public function getPermissions($getAllUnconditionally = FALSE) {
59 return array('access CiviReport', 'access Report Criteria', 'administer reserved reports', 'administer Reports');
63 // docs inherited from interface
64 public function getUserDashboardElement() {
65 // no dashboard element for this component
69 public function getUserDashboardObject() {
70 // no dashboard element for this component
74 // docs inherited from interface
75 public function registerTab() {
76 // this component doesn't use contact record tabs
80 // docs inherited from interface
81 public function registerAdvancedSearchPane() {
82 // this component doesn't use advanced search
86 // docs inherited from interface
87 public function getActivityTypes() {
91 // add shortcut to Create New
92 public function creatNewShortcut(&$shortCuts) {}