Contains multiple menu_items.
Field | Type | Description |
object_type | string | "menu_items" |
is_valid | true/false | true if this contains at least one menu_item |
prepended | list of menu_items | menu_items that will be listed at the beginning of the items list |
fetched | list of menu_items | The primary list of menu_items to be included in the items list |
appended | list of menu_items | menu_items that will be listed at the end of the items list |
appended_unique | list of menu_items | menu_items that will be listed at the end of the items list, excluding any menu_items that are already included in either the prepended or fetched lists |
items | list of menu_items | The full list of menu_items in the proper order and uniqueness, including prepended, fetched, and appended menu_items |
size | number | The total number of items in the list of items, including prepended, fetched, and appended menu_items |
limit | number | The maximum number of menu_items that could have been fetched dynamically from the database |
start | number | The 1-based index of the first menu_item that was (or would have been) dynamically fetched from the database |
page | number | The 1-based index of the first "page" of menu_items that could have been fetched dynamically from the database - as determined by the start and limit properties |
total_count | number | The total number of menu_items in the database that matched the provided filter parameters when fetching the list of fetched menu_items |
total_pages | number | The total number of "pages" of results that matched the provided filter parameters when fetching the list of fetched menu_items - as determined by the total_count and limit properties |
output | html | The default output that the menu_items will produce when it is output directly to the template - using the "output_in_list" property of each menu_item in the items list |