$uri = Zend\Uri\UriFactory::factory('http://example.com:80/my/path?a=b&c=d#token');
$scheme = $uri->getPath(); // "/my/path"
$scheme = $uri->getQuery(); // "a=b&c=d"
$scheme = $uri->getQueryAsArray();
// array(
// 'a' => 'b',
// 'c' => 'd',
// )
$scheme = $uri->getFragment(); // "token"
RTFM
framework.zend.com/manual/2.0/en/modules/zend.uri.html
controller and action
$controllerName =$this->params('controller');
$actionName = $this->params('action');
use google, bro :)
stackoverflow.com/questions/12179840/how-to-get-co...