Issue Type: Bug Created: 2011-06-26T18:58:21.000+0000 Last Updated: 2011-06-26T18:58:21.000+0000 Status: Open Fix version(s): Reporter: Jamie Wong (jamie025) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller
Related issues: Attachments:
I am refering to: http://framework.zend.com/manual/en/…
"JSON. The JSON context sets the 'Content-Type' response header to 'application/json', and the view script suffix to 'json.phtml'. By default, however, no view script is required. It will simply serialize all view variables, and emit the JSON response immediately. This behaviour can be disabled by turning off the automatic JSON serialization: $this->_helper->contextSwitch()->setAutoJsonSerialization(false);"
I noticed that $this->_helper->contextSwitch()->setAutoJsonSerialization(true) does nothing. I found getters and setters in the library, but they are never used from the view classes etc.
Either this feature should be removed from the manual or fixed :-) (while I would definitly prefer the second option) ;-)
No comments to display
Have you found an issue?
See the Overview section for more details.