The Yaf_View_Interface class

(Yaf >=1.0.0)

Introduction

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

Class synopsis

classYaf_View_Interface {
abstractpublicassign(string$name, string$value = ?): bool
abstractpublicdisplay(string$tpl, array$tpl_vars = ?): bool
abstractpublicgetScriptPath(): void
abstractpublicrender(string$tpl, array$tpl_vars = ?): string
abstractpublicsetScriptPath(string$template_dir): void
}

Table of Contents

To Top