Warning: include_once(/home/theraven/sites/theraven7.com/php/manual/en/toc/book.yaf.inc) [function.include-once]: failed to open stream: No such file or directory in /home/theraven/sites/theraven7.com/php/manual/en/class.yaf-view-interface.php on line 5

Warning: include_once() [function.include]: Failed opening '/home/theraven/sites/theraven7.com/php/manual/en/toc/book.yaf.inc' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/theraven/sites/theraven7.com/php/manual/en/class.yaf-view-interface.php on line 5
PHP: Yaf_View_Interface - Manual
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Yaf_View_Interface::assign> <Yaf_Action_Abstract::getController
[edit] Last updated: Fri, 18 May 2012

view this page in

The Yaf_View_Interface class

(No version information available, might only be in SVN)

Introduction

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

Class synopsis

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



add a note add a note User Contributed Notes Yaf_View_Interface
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites