Passed
Push — master ( 6b3304...34df25 )
by Ferry
03:52
created

SidebarModel::setPermalink()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: User
5
 * Date: 4/24/2019
6
 * Time: 11:24 PM
7
 */
8
9
namespace crocodicstudio\crudbooster\models;
10
11
12
class SidebarModel
13
{
14
    private $id;
15
    private $name;
16
    private $url;
17
    private $permalink;
18
    private $sub;
19
    private $sub_active;
20
    private $icon;
21
    private $basepath;
22
    private $is_active;
23
24
    /**
25
     * @return mixed
26
     */
27
    public function getPermalink()
28
    {
29
        return $this->permalink;
30
    }
31
32
    /**
33
     * @param mixed $permalink
34
     */
35
    public function setPermalink($permalink): void
36
    {
37
        $this->permalink = $permalink;
38
    }
39
40
41
42
    /**
43
     * @return mixed
44
     */
45
    public function getSubActive()
46
    {
47
        return $this->sub_active;
48
    }
49
50
    /**
51
     * @param mixed $sub_active
52
     */
53
    public function setSubActive($sub_active)
54
    {
55
        $this->sub_active = $sub_active;
56
    }
57
58
59
60
    /**
61
     * @return mixed
62
     */
63
    public function getisActive()
64
    {
65
        return $this->is_active;
66
    }
67
68
    /**
69
     * @param mixed $is_active
70
     */
71
    public function setIsActive($is_active)
72
    {
73
        $this->is_active = $is_active;
74
    }
75
76
77
78
    /**
79
     * @return mixed
80
     */
81
    public function getId()
82
    {
83
        return $this->id;
84
    }
85
86
    /**
87
     * @param mixed $id
88
     */
89
    public function setId($id): void
90
    {
91
        $this->id = $id;
92
    }
93
94
95
96
    /**
97
     * @return mixed
98
     */
99
    public function getBasepath()
100
    {
101
        return $this->basepath;
102
    }
103
104
    /**
105
     * @param mixed $basepath
106
     */
107
    public function setBasepath($basepath): void
108
    {
109
        $this->basepath = $basepath;
110
    }
111
112
113
114
    /**
115
     * @return mixed
116
     */
117
    public function getName()
118
    {
119
        return $this->name;
120
    }
121
122
    /**
123
     * @param mixed $name
124
     */
125
    public function setName($name): void
126
    {
127
        $this->name = $name;
128
    }
129
130
    /**
131
     * @return mixed
132
     */
133
    public function getUrl()
134
    {
135
        return $this->url;
136
    }
137
138
    /**
139
     * @param mixed $url
140
     */
141
    public function setUrl($url): void
142
    {
143
        $this->url = $url;
144
    }
145
146
    /**
147
     * @return mixed
148
     */
149
    public function getSub()
150
    {
151
        return $this->sub;
152
    }
153
154
    /**
155
     * @param mixed $sub
156
     */
157
    public function setSub($sub): void
158
    {
159
        $this->sub = $sub;
160
    }
161
162
    /**
163
     * @return mixed
164
     */
165
    public function getIcon()
166
    {
167
        return $this->icon;
168
    }
169
170
    /**
171
     * @param mixed $icon
172
     */
173
    public function setIcon($icon): void
174
    {
175
        $this->icon = $icon;
176
    }
177
178
179
180
181
}