Skip to content

Commit fff6c89

Browse files
committed
Docs: Update absolete documentation elements
1 parent 1f6763b commit fff6c89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ $id = $this->insertLink( $rolesString, $visibleName, $href, $iconString);
208208
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
209209
* `$visibleName` - a string caption visible in sidebar
210210
* `$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`
212212

213213
To add a __title__ to the sidebar - use function `insertTitle()`:
214214
```php
@@ -223,14 +223,14 @@ $id = $this->beginDropdown( $rolesString, $visibleName, $iconString);
223223
```
224224
* `$rolesString` - a string with list of user roles this menu element will be available, ex. `"guest,user,admin"`
225225
* `$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`
227227

228228
To end dropdown section - use function `endDropdown()`.
229229

230230
To add __link__ to __dropdown__ call function `insertLink()` between function calls `beginDropdown()` and `endDropdown()`.
231231
Example:
232232
```php
233-
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cui-puzzle');
233+
$id = $this->beginDropdown('guest,user,admin', 'Some dropdown', 'cil-puzzle');
234234
$id = $this->insertLink('guest,user,admin', 'Dropdown name', 'http://example.com');
235235
$this->endDropdown();
236236
```

0 commit comments

Comments
 (0)