* * This function should take a string value "items" or "category" and * return an alphabetically sorted array of strings such that: * - if $listtype === "items", the strings are all item names in the menu * - if $listtype === "categories", the strings are all category * names in the menu * * Part 4: If any database connection error occurs, a 503 JSON error should be returned. */ function get_list_data($listtype) { # TODO } /** * Part 5: Implement menu.php * * This function should return an associtaive array of information * for categories, subcategories, and item data. See slides for expected format. * If any database connection error occurs, a 503 JSON error should be returned. */ function get_menu() { # TODO } ?>