Skip to content

Commit a438478

Browse files
committed
update README
1 parent 1c1f27f commit a438478

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ Finally, open a view and add:
8080
```
8181
Your menu will be created and displayed on the page.
8282

83+
## Output data
84+
85+
You can also get menu data format by 'array' or 'json', like that:
86+
87+
```php
88+
$arr_menu = menu_arct('admin', '_array');
89+
$json_menu = menu_arct('admin', '_json');
90+
```
91+
92+
## Output display
93+
94+
![Display Menu](https://raw.githubusercontent.com/rc1021/laravel-menu-architect/master/output_display.png)
95+
8396
## If You Need Help
8497

8598
Please submit all issues and questions using GitHub issues and I will try to help you.

output_display.png

117 KB
Loading

0 commit comments

Comments
 (0)