La classe Yaf_View_Interface

(Yaf >=1.0.0)

Introduction

Yaf fournit la possibilité aux développeurs d'utiliser des moteurs de viasualisation personnalisés au lieu de celui fourni par défaut (Yaf_View_Simple). Pour voir un exemple d'utilisation, reportez-vous à la documentation sur la méthode Yaf_Dispatcher::setView().

Synopsis de la classe

Yaf_View_Interface {
/* Méthodes */
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
}

Sommaire