update : 2015.11.03
php.shukuma.com

검색:
 
 
The Yaf_View_Interface class

The Yaf_View_Interface class

(Yaf >=1.0.0)

소개

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().

클래스 개요

Yaf_View_Interface {
/* 메소드 */
abstract public bool assign ( string $name [, string $value ] )
abstract public bool display ( string $tpl [, array $tpl_vars ] )
abstract public void getScriptPath ( void )
abstract public string render ( string $tpl [, array $tpl_vars ] )
abstract public void setScriptPath ( string $template_dir )
}

Table of Contents