<?php class indexView extends A_Http_View { public function render() { $model = $this->_load()->model(); $template = $this->_load()->template(); $template->set('model', $model); $this->setRenderer($template); return parent::render(); } }
info at phpclasses dot org