<?php
class IndexController extends Yaf_Controller_Abstract
{
public function indexAction()
{
// Assuming the request is /product/view/id/17
var_dump($this->getRequest()->getRequestUri());
}
}
?>
The above example will output
something similar to:
string(19) "/product/view/id/17"