~ubuntu-branches/ubuntu/trusty/zentyal-core/trusty

« back to all changes in this revision

Viewing changes to src/EBox/Events/Composite/Report/EventsReport.pm

  • Committer: Package Import Robot
  • Author(s): Jorge Salamero Sanz
  • Date: 2012-08-28 10:03:33 UTC
  • Revision ID: package-import@ubuntu.com-20120828100333-oz3n5kpav4z0tl27
Tags: 2.3.21+quantal1
New upstream release for Quantal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009-2012 eBox Technologies S.L.
2
 
#
3
 
# This program is free software; you can redistribute it and/or modify
4
 
# it under the terms of the GNU General Public License, version 2, as
5
 
# published by the Free Software Foundation.
6
 
#
7
 
# This program is distributed in the hope that it will be useful,
8
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
# GNU General Public License for more details.
11
 
#
12
 
# You should have received a copy of the GNU General Public License
13
 
# along with this program; if not, write to the Free Software
14
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
 
 
16
 
package EBox::Events::Composite::Report::EventsReport;
17
 
 
18
 
use base 'EBox::Model::Composite';
19
 
 
20
 
use strict;
21
 
use warnings;
22
 
 
23
 
use EBox::Gettext;
24
 
 
25
 
# Group: Public methods
26
 
 
27
 
# Constructor: new
28
 
#
29
 
#         Constructor for the general events composite
30
 
#
31
 
# Returns:
32
 
#
33
 
#       <EBox::Squid::Model::GeneralComposite> - a
34
 
#       general events composite
35
 
#
36
 
sub new
37
 
  {
38
 
 
39
 
      my ($class, @params) = @_;
40
 
 
41
 
      my $self = $class->SUPER::new(@params);
42
 
 
43
 
      return $self;
44
 
 
45
 
  }
46
 
 
47
 
 
48
 
 
49
 
# Group: Protected methods
50
 
 
51
 
# Method: _description
52
 
#
53
 
# Overrides:
54
 
#
55
 
#     <EBox::Model::Composite::_description>
56
 
#
57
 
sub _description
58
 
  {
59
 
 
60
 
      my $description =
61
 
        {
62
 
         components      => [
63
 
                             '/events/EventsReportOptions',
64
 
                             'EventsGraph',
65
 
                             'EventsDetails',
66
 
                            ],
67
 
         layout          => 'top-bottom',
68
 
         name            => 'EventsReport',
69
 
         printableName   => __('Events reports'),
70
 
         pageTitle   => __('Events report'),
71
 
         compositeDomain => 'Events',
72
 
#         help            => __(''),
73
 
        };
74
 
 
75
 
      return $description;
76
 
 
77
 
  }
78
 
 
79
 
1;