Skip to content

Commit b0ddc08

Browse files
committed
Merge branch 'master' of github.com:davicotico/PHP-Quick-Menu
2 parents 50fe2a4 + 14cddf5 commit b0ddc08

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ Insert an item
100100
* array $item - Associative array with item attributes (text, href, icon, title)
101101
* string $before_at (Optional) The reference position for insert
102102
* string $parent (Optional) The parent if the insert is in submenu
103+
104+
### remove($text)
105+
Remove an item (from top level) by text attribute
106+
107+
**Parameters:**
108+
* string $text Text item
109+
110+
### replace(array $newItem, $text)
111+
Replace an item (find by text attribute)
112+
113+
**Parameters:**
114+
* array $newItem The new item
115+
* string $text The text item for search
116+
103117
### html()
104118
The Html menu
105119

0 commit comments

Comments
 (0)