Skip to content

Commit b3b2ffa

Browse files
Edit Custom class
1 parent bd43762 commit b3b2ffa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/DynamicMenu/Customizations/Attributes.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function setUlDropdown(array $ul_dropdown)
9393
{
9494
foreach ($ul_dropdown as $key => $value) {
9595
$this->handlerKey('ul_dropdown', $key);
96+
$this->ul_dropdown[$key] = $value;
9697
}
9798

9899
return $this;
@@ -108,6 +109,7 @@ public function setLiDropdown(array $li_dropdown)
108109
{
109110
foreach ($li_dropdown as $key => $value) {
110111
$this->handlerKey('li_dropdown', $key);
112+
$this->li_dropdown[$key] = $value;
111113
}
112114

113115
return $this;
@@ -123,6 +125,7 @@ public function setLi(array $li)
123125
{
124126
foreach ($li as $key => $value) {
125127
$this->handlerKey('li', $key);
128+
$this->li[$key] = $value;
126129
}
127130

128131
return $this;
@@ -138,6 +141,7 @@ public function setADropdown(array $a_dropdown)
138141
{
139142
foreach ($a_dropdown as $key => $value) {
140143
$this->handlerKey('a_dropdown', $key);
144+
$this->a_dropdown[$key] = $value;
141145
}
142146

143147
return $this;
@@ -153,6 +157,7 @@ public function setA(array $a)
153157
{
154158
foreach ($a as $key => $value) {
155159
$this->handlerKey('a', $key);
160+
$this->a[$key] = $value;
156161
}
157162

158163
return $this;

0 commit comments

Comments
 (0)