Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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".

Balazs Halasy (04/04/2005 2:46 pm)

Balazs Halasy (29/04/2005 8:41 am)


Comments

There are no comments.