DescribeLayoutSection   A
last analyzed

Complexity

Total Complexity 21

Size/Duplication

Total Lines 252
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 49
c 1
b 0
f 0
dl 0
loc 252
rs 10
wmc 21

21 Methods

Rating   Name   Duplication   Size   Complexity  
A setTabOrder() 0 4 1
A getLayoutRows() 0 3 1
A setLayoutRows() 0 4 1
A setRows() 0 4 1
A getLayoutSectionId() 0 3 1
A getUseHeading() 0 3 1
A __construct() 0 10 1
A getRows() 0 3 1
A getCollapsed() 0 3 1
A getColumns() 0 3 1
A getHeading() 0 3 1
A setParentLayoutId() 0 4 1
A setCollapsed() 0 4 1
A setUseCollapsibleSection() 0 4 1
A setUseHeading() 0 4 1
A setColumns() 0 4 1
A getUseCollapsibleSection() 0 3 1
A getParentLayoutId() 0 3 1
A setLayoutSectionId() 0 4 1
A setHeading() 0 4 1
A getTabOrder() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeLayoutSection
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $collapsed = null;
11
12
    /**
13
     * @var int
14
     */
15
    protected $columns = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $heading = null;
21
22
    /**
23
     * @var DescribeLayoutRow[]
24
     */
25
    protected $layoutRows = null;
26
27
    /**
28
     * @var ID
29
     */
30
    protected $layoutSectionId = null;
31
32
    /**
33
     * @var ID
34
     */
35
    protected $parentLayoutId = null;
36
37
    /**
38
     * @var int
39
     */
40
    protected $rows = null;
41
42
    /**
43
     * @var TabOrderType
44
     */
45
    protected $tabOrder = null;
46
47
    /**
48
     * @var boolean
49
     */
50
    protected $useCollapsibleSection = null;
51
52
    /**
53
     * @var boolean
54
     */
55
    protected $useHeading = null;
56
57
    /**
58
     * @param boolean $collapsed
59
     * @param int $columns
60
     * @param DescribeLayoutRow[] $layoutRows
61
     * @param ID $parentLayoutId
62
     * @param int $rows
63
     * @param TabOrderType $tabOrder
64
     * @param boolean $useCollapsibleSection
65
     * @param boolean $useHeading
66
     */
67
    public function __construct($collapsed = null, $columns = null, array $layoutRows = null, $parentLayoutId = null, $rows = null, $tabOrder = null, $useCollapsibleSection = null, $useHeading = null)
68
    {
69
        $this->collapsed = $collapsed;
70
        $this->columns = $columns;
71
        $this->layoutRows = $layoutRows;
72
        $this->parentLayoutId = $parentLayoutId;
73
        $this->rows = $rows;
74
        $this->tabOrder = $tabOrder;
75
        $this->useCollapsibleSection = $useCollapsibleSection;
76
        $this->useHeading = $useHeading;
77
    }
78
79
    /**
80
     * @return boolean
81
     */
82
    public function getCollapsed()
83
    {
84
        return $this->collapsed;
85
    }
86
87
    /**
88
     * @param boolean $collapsed
89
     * @return \SForce\Wsdl\DescribeLayoutSection
90
     */
91
    public function setCollapsed($collapsed)
92
    {
93
        $this->collapsed = $collapsed;
94
        return $this;
95
    }
96
97
    /**
98
     * @return int
99
     */
100
    public function getColumns()
101
    {
102
        return $this->columns;
103
    }
104
105
    /**
106
     * @param int $columns
107
     * @return \SForce\Wsdl\DescribeLayoutSection
108
     */
109
    public function setColumns($columns)
110
    {
111
        $this->columns = $columns;
112
        return $this;
113
    }
114
115
    /**
116
     * @return string
117
     */
118
    public function getHeading()
119
    {
120
        return $this->heading;
121
    }
122
123
    /**
124
     * @param string $heading
125
     * @return \SForce\Wsdl\DescribeLayoutSection
126
     */
127
    public function setHeading($heading)
128
    {
129
        $this->heading = $heading;
130
        return $this;
131
    }
132
133
    /**
134
     * @return DescribeLayoutRow[]
135
     */
136
    public function getLayoutRows()
137
    {
138
        return $this->layoutRows;
139
    }
140
141
    /**
142
     * @param DescribeLayoutRow[] $layoutRows
143
     * @return \SForce\Wsdl\DescribeLayoutSection
144
     */
145
    public function setLayoutRows(array $layoutRows)
146
    {
147
        $this->layoutRows = $layoutRows;
148
        return $this;
149
    }
150
151
    /**
152
     * @return ID
153
     */
154
    public function getLayoutSectionId()
155
    {
156
        return $this->layoutSectionId;
157
    }
158
159
    /**
160
     * @param ID $layoutSectionId
161
     * @return \SForce\Wsdl\DescribeLayoutSection
162
     */
163
    public function setLayoutSectionId($layoutSectionId)
164
    {
165
        $this->layoutSectionId = $layoutSectionId;
166
        return $this;
167
    }
168
169
    /**
170
     * @return ID
171
     */
172
    public function getParentLayoutId()
173
    {
174
        return $this->parentLayoutId;
175
    }
176
177
    /**
178
     * @param ID $parentLayoutId
179
     * @return \SForce\Wsdl\DescribeLayoutSection
180
     */
181
    public function setParentLayoutId($parentLayoutId)
182
    {
183
        $this->parentLayoutId = $parentLayoutId;
184
        return $this;
185
    }
186
187
    /**
188
     * @return int
189
     */
190
    public function getRows()
191
    {
192
        return $this->rows;
193
    }
194
195
    /**
196
     * @param int $rows
197
     * @return \SForce\Wsdl\DescribeLayoutSection
198
     */
199
    public function setRows($rows)
200
    {
201
        $this->rows = $rows;
202
        return $this;
203
    }
204
205
    /**
206
     * @return TabOrderType
207
     */
208
    public function getTabOrder()
209
    {
210
        return $this->tabOrder;
211
    }
212
213
    /**
214
     * @param TabOrderType $tabOrder
215
     * @return \SForce\Wsdl\DescribeLayoutSection
216
     */
217
    public function setTabOrder($tabOrder)
218
    {
219
        $this->tabOrder = $tabOrder;
220
        return $this;
221
    }
222
223
    /**
224
     * @return boolean
225
     */
226
    public function getUseCollapsibleSection()
227
    {
228
        return $this->useCollapsibleSection;
229
    }
230
231
    /**
232
     * @param boolean $useCollapsibleSection
233
     * @return \SForce\Wsdl\DescribeLayoutSection
234
     */
235
    public function setUseCollapsibleSection($useCollapsibleSection)
236
    {
237
        $this->useCollapsibleSection = $useCollapsibleSection;
238
        return $this;
239
    }
240
241
    /**
242
     * @return boolean
243
     */
244
    public function getUseHeading()
245
    {
246
        return $this->useHeading;
247
    }
248
249
    /**
250
     * @param boolean $useHeading
251
     * @return \SForce\Wsdl\DescribeLayoutSection
252
     */
253
    public function setUseHeading($useHeading)
254
    {
255
        $this->useHeading = $useHeading;
256
        return $this;
257
    }
258
}
259