@@ -208,7 +208,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
208
208
* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
209
209
* ` $visibleName ` - a string caption visible in sidebar
210
210
* ` $href ` - a href, ex. ` /homepage ` or ` http://example.com `
211
- * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cui -speedometer` or ` cui-star `
211
+ * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cil -speedometer` or ` cil-pencil `
212
212
213
213
To add a __ title__ to the sidebar - use function ` insertTitle() ` :
214
214
``` php
@@ -223,14 +223,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $iconString);
223
223
```
224
224
* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
225
225
* ` $visibleName ` - a string caption visible in sidebar
226
- * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cui -speedometer` or ` cui-star `
226
+ * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cil -speedometer` or ` cil-pencil `
227
227
228
228
To end dropdown section - use function ` endDropdown() ` .
229
229
230
230
To add __ link__ to __ dropdown__ call function ` insertLink() ` between function calls ` beginDropdown() ` and ` endDropdown() ` .
231
231
Example:
232
232
``` php
233
- $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cui -puzzle');
233
+ $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cil -puzzle');
234
234
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
235
235
$this->endDropdown();
236
236
```
0 commit comments