eZ Publish  [4.2]
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...

List of all members.

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.

Definition at line 51 of file eznavigationpart.php.


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.

Definition at line 81 of file eznavigationpart.php.

Referenced by 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.

Definition at line 61 of file eznavigationpart.php.

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

Definition at line 102 of file eznavigationpart.php.


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