/libs/plugins/shared.literal_compiler_param.php

Description

Smarty plugin

Functions
smarty_literal_compiler_param (line 19)

evaluate compiler parameter

  • return: evaluated value of parameter or $default
  • author: Rodney Rehm
  • throws: SmartyException if parameter is not a literal (but an expression, variable, …)
mixed smarty_literal_compiler_param (array $params, integer $index, [mixed $default = null])
  • array $params: parameter array as given to the compiler function
  • integer $index: array index of the parameter to convert
  • mixed $default: value to be returned if the parameter is not present

Documentation generated on Sat, 24 Sep 2011 20:23:19 +0200 by phpDocumentor 1.4.1