ReportChartComponent   A
last analyzed

Complexity

Total Complexity 15

Size/Duplication

Total Lines 185
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 37
c 1
b 0
f 0
dl 0
loc 185
rs 10
wmc 15

15 Methods

Rating   Name   Duplication   Size   Complexity  
A setError() 0 4 1
A getSize() 0 3 1
A setContextFilterableField() 0 4 1
A getError() 0 3 1
A getHideOnError() 0 3 1
A setIncludeContext() 0 4 1
A setSize() 0 4 1
A getCacheData() 0 3 1
A setCacheData() 0 4 1
A getShowTitle() 0 3 1
A setHideOnError() 0 4 1
A getContextFilterableField() 0 3 1
A getIncludeContext() 0 3 1
A __construct() 0 10 1
A setShowTitle() 0 4 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class ReportChartComponent extends DescribeLayoutComponent
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $cacheData = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $contextFilterableField = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $error = null;
21
22
    /**
23
     * @var boolean
24
     */
25
    protected $hideOnError = null;
26
27
    /**
28
     * @var boolean
29
     */
30
    protected $includeContext = null;
31
32
    /**
33
     * @var boolean
34
     */
35
    protected $showTitle = null;
36
37
    /**
38
     * @var ReportChartSize
39
     */
40
    protected $size = null;
41
42
    /**
43
     * @param int $displayLines
44
     * @param int $tabOrder
45
     * @param layoutComponentType $type
46
     * @param boolean $cacheData
47
     * @param string $contextFilterableField
48
     * @param string $error
49
     * @param boolean $hideOnError
50
     * @param boolean $includeContext
51
     * @param boolean $showTitle
52
     * @param ReportChartSize $size
53
     */
54
    public function __construct($displayLines = null, $tabOrder = null, $type = null, $cacheData = null, $contextFilterableField = null, $error = null, $hideOnError = null, $includeContext = null, $showTitle = null, $size = null)
55
    {
56
        parent::__construct($displayLines, $tabOrder, $type);
57
        $this->cacheData = $cacheData;
58
        $this->contextFilterableField = $contextFilterableField;
59
        $this->error = $error;
60
        $this->hideOnError = $hideOnError;
61
        $this->includeContext = $includeContext;
62
        $this->showTitle = $showTitle;
63
        $this->size = $size;
64
    }
65
66
    /**
67
     * @return boolean
68
     */
69
    public function getCacheData()
70
    {
71
        return $this->cacheData;
72
    }
73
74
    /**
75
     * @param boolean $cacheData
76
     * @return \SForce\Wsdl\ReportChartComponent
77
     */
78
    public function setCacheData($cacheData)
79
    {
80
        $this->cacheData = $cacheData;
81
        return $this;
82
    }
83
84
    /**
85
     * @return string
86
     */
87
    public function getContextFilterableField()
88
    {
89
        return $this->contextFilterableField;
90
    }
91
92
    /**
93
     * @param string $contextFilterableField
94
     * @return \SForce\Wsdl\ReportChartComponent
95
     */
96
    public function setContextFilterableField($contextFilterableField)
97
    {
98
        $this->contextFilterableField = $contextFilterableField;
99
        return $this;
100
    }
101
102
    /**
103
     * @return string
104
     */
105
    public function getError()
106
    {
107
        return $this->error;
108
    }
109
110
    /**
111
     * @param string $error
112
     * @return \SForce\Wsdl\ReportChartComponent
113
     */
114
    public function setError($error)
115
    {
116
        $this->error = $error;
117
        return $this;
118
    }
119
120
    /**
121
     * @return boolean
122
     */
123
    public function getHideOnError()
124
    {
125
        return $this->hideOnError;
126
    }
127
128
    /**
129
     * @param boolean $hideOnError
130
     * @return \SForce\Wsdl\ReportChartComponent
131
     */
132
    public function setHideOnError($hideOnError)
133
    {
134
        $this->hideOnError = $hideOnError;
135
        return $this;
136
    }
137
138
    /**
139
     * @return boolean
140
     */
141
    public function getIncludeContext()
142
    {
143
        return $this->includeContext;
144
    }
145
146
    /**
147
     * @param boolean $includeContext
148
     * @return \SForce\Wsdl\ReportChartComponent
149
     */
150
    public function setIncludeContext($includeContext)
151
    {
152
        $this->includeContext = $includeContext;
153
        return $this;
154
    }
155
156
    /**
157
     * @return boolean
158
     */
159
    public function getShowTitle()
160
    {
161
        return $this->showTitle;
162
    }
163
164
    /**
165
     * @param boolean $showTitle
166
     * @return \SForce\Wsdl\ReportChartComponent
167
     */
168
    public function setShowTitle($showTitle)
169
    {
170
        $this->showTitle = $showTitle;
171
        return $this;
172
    }
173
174
    /**
175
     * @return ReportChartSize
176
     */
177
    public function getSize()
178
    {
179
        return $this->size;
180
    }
181
182
    /**
183
     * @param ReportChartSize $size
184
     * @return \SForce\Wsdl\ReportChartComponent
185
     */
186
    public function setSize($size)
187
    {
188
        $this->size = $size;
189
        return $this;
190
    }
191
}
192