sulu_navigation_root_flat

Returns navigation from root in a flat list data-structure.

Arguments:

  • context: string - optional: context to filter navigation

  • depth: integer - optional: depth to load (1 - one level deep, 2 - two levels deep, …)

  • 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)