Jump to content

Nul-parameter

From NusaATK
Revision as of 20:11, 18 January 2007 by bahtiar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The 'nul' parameter is functionality in the ATK version of Smarty which lets you pass the first parameter of a tag without a name.

Example:

{tag nulparameter}

Instead of:

{tag parametername="nulparameter"}

It is primarily used in tags that have only one parameter, making it easier to use.

Note: The name is derived from the dutch word for zero, 'nul'. Not to be confused with 'null'.