Re: [SMARTY] all vars

From: Date: Mon, 08 Jul 2002 20:15:47 +0000
Subject: Re: [SMARTY] all vars
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5230@lists.php.net to get a copy of this message
That will work too, I was thinking from the viewpoint of a template designer dumping out the available vars. Oscar Fernandez Sierra wrote:
Monte Ohrt wrote:
The debug console shows you that. Mattia wrote:
Is there an instruction to get all vars assigned to a template? tia
Sometimes it is good a look at the documentation: get template vars This gets an array of the currently assigned template vars. array get_template_vars(); Example 4-23. get template vars // get all assigned template vars $tpl_vars = $smarty->get_template_vars(); // take a look at them var_dump($tpl_vars);
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#5230) next »