<?php
class IndexController extends Yaf_Controller_Abstract
{
public function indexAction() {
// assuming the request was dispatched to the
// default "Index" module
var_dump($this->getModuleName());
}
}
?>
The above example will output
something similar to: