Как мне расширить Zend_Controller_Request_Http и дать приложению знать о My_Controller_Request_Http ??
Решение
Так я начал работать, следуя указателям Гордона.
Первый файл сохраняет в вашей библиотеке следующий файл: My / Controller / Request / Http.php
<?php
class My_Controller_Request_Http extends Zend_Controller_Request_Http {
/* Add all your custom functions here */
}
В классе начальной загрузки я добавил следующее.
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 */
}