navigation_parts
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.
Balazs Halasy (19/11/2004 9:33 am)
Balazs Halasy (29/04/2005 10:42 am)



Comments
There are no comments.