Hi all,
How do I extend the Zend_Controller_Request_Http, and let the application know of My_Controller_Request_Http ??
Solution
This is how i got it working following Gordons pointers.
Firts save the following file your library: My/Controller/Request/Http.php
<?php
class My_Controller_Request_Http extends Zend_Controller_Request_Http {
/* Add all your custom functions here */
}
In the bootstrap class i added the following.
function _initApplication ()
{
/* Doing some other stuff here */
$this->bootstrap('frontcontroller');
$front = $this->getResource('frontcontroller');
$front->setRequest('My_Controller_Request_Http');
/* Registering some plugins here, not relevant */
}