<?php
class ListAction extends Yaf_Action_Abstract
{
public function execute() {
// the name of the controller that owns this action,
// e.g. "Product" for a ProductController
var_dump($this->getControllerName());
}
}
?>
The above example will output
something similar to: