YAF_VIEW_INTERFACE(3) 1 YAF_VIEW_INTERFACE(3)
The Yaf_View_Interface class
INTRODUCTION
Yaf provides a ability for developers to use coustom view engine instead of build-in engine which is Yaf_View_Simple. There is a example
to explain how to do this, please see Yaf_Dispatcher::setView.
CLASS SYNOPSIS
Yaf_View_Interface
Yaf_View_Interface
Methods
o abstractpublic bool Yaf_View_Interface::assign (string $name, [string $value])
o abstractpublic bool Yaf_View_Interface::display (string $tpl, [array $tpl_vars])
o abstractpublic void Yaf_View_Interface::getScriptPath (void )
o abstractpublic string Yaf_View_Interface::render (string $tpl, [array $tpl_vars])
o abstractpublic void Yaf_View_Interface::setScriptPath (string $template_dir)
PHP Documentation Group YAF_VIEW_INTERFACE(3)