| Total Complexity | 16 |
| Total Lines | 145 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class SidebarModel |
||
| 13 | { |
||
| 14 | private $id; |
||
| 15 | private $name; |
||
| 16 | private $url; |
||
| 17 | private $sub; |
||
| 18 | private $sub_active; |
||
| 19 | private $icon; |
||
| 20 | private $basepath; |
||
| 21 | private $is_active; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public function getSubActive() |
||
| 27 | { |
||
| 28 | return $this->sub_active; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed $sub_active |
||
| 33 | */ |
||
| 34 | public function setSubActive($sub_active) |
||
| 35 | { |
||
| 36 | $this->sub_active = $sub_active; |
||
| 37 | } |
||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function getisActive() |
||
| 45 | { |
||
| 46 | return $this->is_active; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param mixed $is_active |
||
| 51 | */ |
||
| 52 | public function setIsActive($is_active) |
||
| 53 | { |
||
| 54 | $this->is_active = $is_active; |
||
| 55 | } |
||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | /** |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | public function getId() |
||
| 63 | { |
||
| 64 | return $this->id; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @param mixed $id |
||
| 69 | */ |
||
| 70 | public function setId($id): void |
||
| 71 | { |
||
| 72 | $this->id = $id; |
||
| 73 | } |
||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | /** |
||
| 78 | * @return mixed |
||
| 79 | */ |
||
| 80 | public function getBasepath() |
||
| 81 | { |
||
| 82 | return $this->basepath; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @param mixed $basepath |
||
| 87 | */ |
||
| 88 | public function setBasepath($basepath): void |
||
| 89 | { |
||
| 90 | $this->basepath = $basepath; |
||
| 91 | } |
||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | /** |
||
| 96 | * @return mixed |
||
| 97 | */ |
||
| 98 | public function getName() |
||
| 99 | { |
||
| 100 | return $this->name; |
||
| 101 | } |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @param mixed $name |
||
| 105 | */ |
||
| 106 | public function setName($name): void |
||
| 107 | { |
||
| 108 | $this->name = $name; |
||
| 109 | } |
||
| 110 | |||
| 111 | /** |
||
| 112 | * @return mixed |
||
| 113 | */ |
||
| 114 | public function getUrl() |
||
| 115 | { |
||
| 116 | return $this->url; |
||
| 117 | } |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @param mixed $url |
||
| 121 | */ |
||
| 122 | public function setUrl($url): void |
||
| 123 | { |
||
| 124 | $this->url = $url; |
||
| 125 | } |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @return mixed |
||
| 129 | */ |
||
| 130 | public function getSub() |
||
| 131 | { |
||
| 132 | return $this->sub; |
||
| 133 | } |
||
| 134 | |||
| 135 | /** |
||
| 136 | * @param mixed $sub |
||
| 137 | */ |
||
| 138 | public function setSub($sub): void |
||
| 141 | } |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @return mixed |
||
| 145 | */ |
||
| 146 | public function getIcon() |
||
| 149 | } |
||
| 150 | |||
| 151 | /** |
||
| 152 | * @param mixed $icon |
||
| 153 | */ |
||
| 154 | public function setIcon($icon): void |
||
| 155 | { |
||
| 157 | } |
||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | } |