[TYPO3-mvc] Output from a CommandController

Bastian Waidelich bastian at typo3.org
Thu Mar 14 12:34:52 CET 2013


François Suter wrote:

Hi François,

> I'm currently developing an Extbase CommandController and I can't get it
> to output a single line.

the CommandController::output*() methods add the content to the current 
response. This is only rendered if you don't stop the execution 
otherwise and if the action does not return anything.

Instead of *exit* or *die()* you should therefore use 
*CommandController::quit()*


-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-typo3v4mvc mailing list