Jurian Sluiman wrote:
>
> It's a better approach to let the errorController handle the error.
>
> 1) The code is centralized in one place
> 2) You can use the errorController's views to display additional
> information
>
+1
-
--
Wil Moore III
Why is Bottom-posting better than Top-postin
On Wednesday 09 Feb 2011 22:45:20 whisher wrote:
> or
>
> $this->_helper->viewRenderer->setNoRender();
> $this->_helper->getHelper('layout')->disableLayout();
> $this->getResponse()
> ->setBody('HTTP/1.1 404 Not Found')
> ->setRawHeader('HTTP/1.1 404 Not Fo
or
$this->_helper->viewRenderer->setNoRender();
$this->_helper->getHelper('layout')->disableLayout();
$this->getResponse()
->setBody('HTTP/1.1 404 Not Found')
->setRawHeader('HTTP/1.1 404 Not Found');
--
View this message in context:
http://zend-framewo