diff options
Diffstat (limited to 'include/menu.php')
-rw-r--r-- | include/menu.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/menu.php b/include/menu.php index ad9d3eb1c..951a2b1fe 100644 --- a/include/menu.php +++ b/include/menu.php @@ -80,6 +80,14 @@ function menu_create($arr) { } +function menu_list($channel_id) { + $r = q("select * from menu where menu_channel_id = %d order by menu_name", + intval($channel_id) + ); + return $r; +} + + function menu_edit($arr) { |