@@ -187,8 +187,6 @@ Click "Notes" on topbar menu and log in with credentials:
187187* Password: _ password_
188188
189189This user has roles: _ user_ and _ admin_
190- * Role _ user_ is required for ** notes** management.
191- * Role _ admin_ is required for ** users** management.
192190
193191---
194192
@@ -206,7 +204,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
206204* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
207205* ` $visibleName ` - a string caption visible in sidebar
208206* ` $href ` - a href, ex. ` /homepage ` or ` http://example.com `
209- * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cui -speedometer` or ` cui-star `
207+ * ` $iconString ` - a string containing valid CoreUI Icon name (kebab-case), ex. ` cil -speedometer` or ` cil-pencil `
210208
211209To add a __ title__ to the sidebar - use function ` insertTitle() ` :
212210``` php
@@ -221,14 +219,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $iconString);
221219```
222220* ` $rolesString ` - a string with list of user roles this menu element will be available, ex. ` "guest,user,admin" `
223221* ` $visibleName ` - a string caption visible in sidebar
224- * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cui -speedometer` or ` cui-star `
222+ * ` $iconString ` - a string containing valid CoreUI icon name (kebab-case). For example: ` cil -speedometer` or ` cil-pencil `
225223
226224To end dropdown section - use function ` endDropdown() ` .
227225
228226To add __ link__ to __ dropdown__ call function ` insertLink() ` between function calls ` beginDropdown() ` and ` endDropdown() ` .
229227Example:
230228``` php
231- $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cui -puzzle');
229+ $id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cil -puzzle');
232230$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
233231$this->endDropdown();
234232```
0 commit comments