<?php
class ProductController extends Yaf_Controller_Abstract
{
public function indexAction() {
// fetch the view engine bound to this controller, initialized
// with its template path, e.g. application/views/;
// options would be forwarded to the view engine, see
// Yaf_View_Simple::__construct()
$view = $this->initView();
$view->assign("products", array("yaf", "php"));
}
}
?>