- application/controllers/Index.php
<?php
use Yaf\Controller_Abstract;
class IndexController extends Controller_Abstract
{
public function indexAction()
{
Yaf\Dispatcher::getInstance()->disableView();
echo "indexAction";
}
public function testAction()
{
Yaf\Dispatcher::getInstance()->disableView();
echo "testAction";
}
}