Skip to the content
Documentation

navigation_parts

No ratings yet

Summary

Fetches all available navigation parts.

Usage

fetch( 'content', 'navigation_parts' )

Returns

An array of hashes (see below).

Description

This function fetches all the available navigation parts. The function returns an array with hashes containing the following elements:

Key Type Description
name string The actual name of the navigation part (for example "Content structure").
identifier string The identifier of the navigation part (for example "ezcontentnavigationpart").

Examples

Example 1

{def $navigation_parts=fetch( 'content', 'navigation_parts' )}

{foreach $navigation_parts as $navigation_part}
    {$navigation_part.identifier} : {$navigation_part.name} <br />
{/foreach}

Outputs the identifiers and names of all the available navigation parts.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.