module_params

Summary

Extracts parameters from the module that was run.

Usage

module_params(  )

Returns

Array.

Description

This operator extracts parameters from the module that was run. An array with the parameters is returned. The operator does not take any parameters.

Examples

URL request is "/content/view/full/65" (or using URL alias that points to "/content/view/full/65"). If the template contains this code:

{module_params|attribute(show)}

..then the following will be returned:

Attribute    Type   Value

module_name  string 'content'

function_name string 'view'

parameters   array  Array(2)

>ViewMode    string 'full'

>NodeID      string 65

Comments

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
       currentdate
       ezini
       ezhttp
       ezpreference
       ezsys
       fetch
       module_params
    Formatting
    Images
    Logic
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
11:34:48 am
by Balazs Halasy

Last updated

11/02/2004
1:10:58 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.