VisualforcePage   A
last analyzed

Complexity

Total Complexity 11

Size/Duplication

Total Lines 135
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 27
c 1
b 0
f 0
dl 0
loc 135
rs 10
wmc 11

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getSuggestedHeight() 0 3 1
A getShowLabel() 0 3 1
A getSuggestedWidth() 0 3 1
A getShowScrollbars() 0 3 1
A getUrl() 0 3 1
A __construct() 0 8 1
A setSuggestedHeight() 0 4 1
A setShowLabel() 0 4 1
A setSuggestedWidth() 0 4 1
A setShowScrollbars() 0 4 1
A setUrl() 0 4 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class VisualforcePage extends DescribeLayoutComponent
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $showLabel = null;
11
12
    /**
13
     * @var boolean
14
     */
15
    protected $showScrollbars = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $suggestedHeight = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $suggestedWidth = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $url = null;
31
32
    /**
33
     * @param int $displayLines
34
     * @param int $tabOrder
35
     * @param layoutComponentType $type
36
     * @param boolean $showLabel
37
     * @param boolean $showScrollbars
38
     * @param string $suggestedHeight
39
     * @param string $suggestedWidth
40
     * @param string $url
41
     */
42
    public function __construct($displayLines = null, $tabOrder = null, $type = null, $showLabel = null, $showScrollbars = null, $suggestedHeight = null, $suggestedWidth = null, $url = null)
43
    {
44
        parent::__construct($displayLines, $tabOrder, $type);
45
        $this->showLabel = $showLabel;
46
        $this->showScrollbars = $showScrollbars;
47
        $this->suggestedHeight = $suggestedHeight;
48
        $this->suggestedWidth = $suggestedWidth;
49
        $this->url = $url;
50
    }
51
52
    /**
53
     * @return boolean
54
     */
55
    public function getShowLabel()
56
    {
57
        return $this->showLabel;
58
    }
59
60
    /**
61
     * @param boolean $showLabel
62
     * @return \SForce\Wsdl\VisualforcePage
63
     */
64
    public function setShowLabel($showLabel)
65
    {
66
        $this->showLabel = $showLabel;
67
        return $this;
68
    }
69
70
    /**
71
     * @return boolean
72
     */
73
    public function getShowScrollbars()
74
    {
75
        return $this->showScrollbars;
76
    }
77
78
    /**
79
     * @param boolean $showScrollbars
80
     * @return \SForce\Wsdl\VisualforcePage
81
     */
82
    public function setShowScrollbars($showScrollbars)
83
    {
84
        $this->showScrollbars = $showScrollbars;
85
        return $this;
86
    }
87
88
    /**
89
     * @return string
90
     */
91
    public function getSuggestedHeight()
92
    {
93
        return $this->suggestedHeight;
94
    }
95
96
    /**
97
     * @param string $suggestedHeight
98
     * @return \SForce\Wsdl\VisualforcePage
99
     */
100
    public function setSuggestedHeight($suggestedHeight)
101
    {
102
        $this->suggestedHeight = $suggestedHeight;
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getSuggestedWidth()
110
    {
111
        return $this->suggestedWidth;
112
    }
113
114
    /**
115
     * @param string $suggestedWidth
116
     * @return \SForce\Wsdl\VisualforcePage
117
     */
118
    public function setSuggestedWidth($suggestedWidth)
119
    {
120
        $this->suggestedWidth = $suggestedWidth;
121
        return $this;
122
    }
123
124
    /**
125
     * @return string
126
     */
127
    public function getUrl()
128
    {
129
        return $this->url;
130
    }
131
132
    /**
133
     * @param string $url
134
     * @return \SForce\Wsdl\VisualforcePage
135
     */
136
    public function setUrl($url)
137
    {
138
        $this->url = $url;
139
        return $this;
140
    }
141
}
142