Solar_App_Hello::_setContentType()

protected void Solar_App_Hello::_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.

Inherited from Solar_Controller_Page.

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