eZPublishCommunityProject(LegacyStack)  2013.9
eZNavigationPart Class Reference

eZNavigationPart handles grouping of functions across modulesA navigation part is a group of functions which belongs together. Every view can return the navigation part it should use. It is up to the view to return the proper navigation part. Views can internally check which navigation part to use, in the case of content/view the view will check the navigation part set in the section setup and use this. More...

Static Public Member Functions

static fetchList ()
 
static fetchPartByIdentifier ($identifier)
 

Static Private Member Functions

static i18nDummy ()
 

Detailed Description

eZNavigationPart handles grouping of functions across modules

A navigation part is a group of functions which belongs together. Every view can return the navigation part it should use. It is up to the view to return the proper navigation part. Views can internally check which navigation part to use, in the case of content/view the view will check the navigation part set in the section setup and use this.

If the view does not return any navigation part it will default to the Content part.

The navigation parts are controlled by the menu.ini file, look for the NavigationPart group. You can easily add new entries in override files or in extensions by adding to the Part list.

Member Function Documentation

static eZNavigationPart::fetchList ( )
static
Returns
The current list of navigation part identifiers
Note
The list is cached in the global variable eZNavigationPartList.

Referenced by eZContentFunctionCollection\fetchNavigationParts(), and fetchPartByIdentifier().

static eZNavigationPart::fetchPartByIdentifier (   $identifier)
static

Will return the navigation part array if the identifier is valid, the default will be returned if the identifier is not valid.

The navigation parts are defined in the INI file menu.ini under the NavigationPart group.

Referenced by eZContentFunctionCollection\fetchNavigationPart(), and ezpKernelWeb\run().

static eZNavigationPart::i18nDummy ( )
staticprivate
Note
This funtion only exists for the i18n entries to be picked up by ezlupdate.

The documentation for this class was generated from the following file: