====== getContentType ====== {#JAPI Joomla.Framework Document JDocumentRenderer::getContentType #} Returns the content type of the renderer. The method returns a string containing the mime type of the document. ===== Syntax ===== string getContentType () ===== Examples ===== jimport( 'joomla.document.renderer' ); jimport( 'joomla.document.html.renderer.module' ); $renderer = new JDocumentRendererModule( $document ); echo $renderer->getContentType(); might produce: text/html ---- ~~DISCUSSION~~