'menu_item_parent', 'id' => 'db_id' ); /** * At the start of each element, output a
  • and tag structure. * * Note: Menu objects include url and title properties, so we will use those. */ function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { $returnItem = array( "item" => $item ); echo json_encode($returnItem) . ","; } } ?>