/libs/plugins/shared.literal_compiler_param.php

Description

Smarty plugin

Functions
smarty_literal_compiler_param (line 19)

evaluate compiler parameter

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

Documentation generated on Sun, 11 Sep 2011 11:02:47 +0200 by phpDocumentor 1.4.1