YAF_VIEW_SIMPLE(3) 1 YAF_VIEW_SIMPLE(3)
The Yaf_View_Simple class
INTRODUCTION
Yaf_View_Simple is the built-in template engine in Yaf, it is a simple but fast template engine, and only support PHP script template.
CLASS SYNOPSIS
Yaf_View_Simple
Yaf_View_SimpleYaf_View_Interface
Properties
o protected$_tpl_vars
o protected$_tpl_dir
Methods
o public bool Yaf_View_Simple::assign (string $name, [mixed $value])
o public bool Yaf_View_Simple::assignRef (string $name, mixed &$value)
o public bool Yaf_View_Simple::clear ([string $name])
o finalpublic Yaf_View_Simple::__construct (string $tempalte_dir, [array $options])
o public bool Yaf_View_Simple::display (string $tpl, [array $tpl_vars])
o public string Yaf_View_Simple::eval (string $tpl_content, [array $tpl_vars])
o public void Yaf_View_Simple::__get ([string $name])
o public string Yaf_View_Simple::getScriptPath (void )
o public void Yaf_View_Simple::__isset (string $name)
o public string Yaf_View_Simple::render (string $tpl, [array $tpl_vars])
o public void Yaf_View_Simple::__set (string $name, mixed $value)
o public bool Yaf_View_Simple::setScriptPath (string $template_dir)
PROPERTIES
o $_tpl_vars
-
o $_tpl_dir
-
PHP Documentation Group YAF_VIEW_SIMPLE(3)