Longhorn PHP 2019 Schedule

The Yaf_View_Interface class

(Yaf >=1.0.0)

Introducere

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

Sinopsisul clasei

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

Cuprins

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top