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

module_params

Summary

Extracts parameters from the module that was run.

Usage

module_params()

Returns

An array containing module information.

Description

This operator extracts some generic information from the module that was run. It seems that it can only be called inside "pagelayout.tpl". Please refer to the example below. The operator does not take any parameters.

Examples

Example 1

{module_params()|attribute(show)}

If the requested URL is "/content/view/full/65" (or using URL alias that points to "/content/view/full/65"), the following output will be produced:

Attribute

Type

Value

module_name

string

'content'

function_name

string

'view'

parameters

array

Array(2)

-ViewMode

string

'full'

-NodeID

string

65

Balazs Halasy (05/02/2004 10:34 am)

Svitlana Shatokhina (04/05/2006 2:24 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.