sulu_navigation_tree

Returns navigation from the given page in a tree data-structure.

Arguments:

  • uuid: string The uuid for which the navigation should be loaded

  • context: string - optional: context to filter navigation

  • depth: integer - optional: depth to load (1 - childs, 2 - childs and child of childs, …)

  • loadExcerpt: boolean - optional: load data from excerpt tab

Returns:

  • array
    • uuid: UUID of page

    • title: Title of page

    • url: URL for page

    • template: Template name of page

    • changed: Changed date of page

    • changer: User ID of changer

    • created: Date of creation

    • creator: User ID of creator

    • nodeType: Type of node

    • path: Path of page

    • excerpt: Excerpt (if load-excerpt is true)