<?php
class ProductController extends Yaf_Controller_Abstract
{
public function indexAction() {
// the template directory used by the view engine,
// e.g. "/var/www/html/application/views"
var_dump($this->getViewpath());
}
}
?>
The above example will output
something similar to:
string(31) "/var/www/html/application/views"