Thursday, August 21, 2014

zend controller front

$params = Zend_Controller_Front::getInstance()->getRequest()->getParam('contactID');

$this->_view->

Zend_Registry::get('client');

in the Zend Controller
$params = $this->getRequest()->getParam('contactID');

_______________________________________________________________
disable Layout

public function listaAction()
    {    
        $this->_helper->viewRenderer->setNoRender(true);
        $this->_helper->layout->disableLayout();
    }
_______________________________________________________________
Use helper in view
in Bootstrap.php
add $this->addHelperPath('App/View/Helper', 'App_View_Helper);