Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [The Yaf_View_Interface class]

Protect Your Website Today


PHP Manual || Yaf

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

Yaf_View_Interface {
/* Methods */
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
}


PHP Manual || Yaf