navigation_part

Summary

Fetches information about a navigation part.

Usage

fetch( 'content', 'navigation_part', hash( 'identifier', identifier ) )

Parameters

NameTypeDescriptionRequired
identifier string The identifier of the desired navigation part. Yes.

Returns

An associative array (see below) or FALSE.

Description

This function fetches information about a navigation part. The identifier of the navigation part must be specified using the "identifier" parameter. The function returns a hash that consists of 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_part=fetch( 'content', 'navigation_part',
                             hash( 'identifier', 'ezcontentnavigationpart' ) )}
{$navigation_part.name}

Outputs the name of the navigation part identified by the string "ezcontentnavigationpart".

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.