Helper for declaring default values of template variables
Located in /View/Helper/DeclareVars.php (line 30)
The view object that created this helper object.
Declare template vars to set default values and avoid notices when using strictVars
Primarily for use when using Zend_View strictVars(), this helper can be used to declare template variables that may or may not already be set in the view object, as well as to set default values. Arrays passed as arguments to the method will be used to set default values; otherwise, if the variable does not exist, it is set to an empty string.
Usage:
Set a view variable
Checks to see if a $key is set in the view object; if not, sets it to $value.
Documentation generated on Sun, 27 May 2007 23:22:28 -0700 by phpDocumentor 1.3.2