Yaf_Action_Abstract::getController
Yaf_View_Interface::assign
Yaf
PHP Manual

# The Yaf_View_Interface class

(Yaf >=1.0.0)

## Introdução

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

## Sinopse da classe

Yaf_View_Interface {
/* Métodos */
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` )
}

## Índice

- Yaf_View_Interface::assign — Assign value to View engine
- Yaf_View_Interface::display — Render and output a template
- Yaf_View_Interface::getScriptPath — The getScriptPath purpose
- Yaf_View_Interface::render — Render a template
- Yaf_View_Interface::setScriptPath — The setScriptPath purpose

Yaf_Action_Abstract::getController
Yaf_View_Interface::assign
Yaf
PHP Manual