Solar_Controller_Page::_setContentType()

protected void Solar_Controller_Page::_setContentType ( void )

Sets a Content-Type header in the response based on $this->_format, but only if the response does not already have a Content-Type set.

Parameters

  • None.

Returns

  • (void)

Description

Sets a Content-Type header in the response based on $this->_format, but only if the response does not already have a Content-Type set.



Local