Added a short cut to echo $phpgw->template->finish($phpgw->template->parse('out','form'));

This commit is contained in:
jengo 2001-02-26 15:48:53 +00:00
parent bf76a6497f
commit 2509cf0e65

View File

@ -193,6 +193,12 @@ class Template {
return false; return false;
} }
// This is a short cut for print finish parse
function pfp($target, $handle, $append = false)
{
echo $this->finish($this->parse($target, $handle, $append));
}
/* public: get_vars() /* public: get_vars()
*/ */
function get_vars() { function get_vars() {