(Yaf >=1.0.0)
Yaf provides a ability for developers to use custom view engine instead of built-in engine which is Yaf_View_Simple. There is a example to explain how to do this, please see Yaf_Dispatcher::setView().
$name
$value
$tpl
$tpl_vars
$template_dir