Support Joomla!

references:joomla.framework:document:jdocumenthtml-setmetacontenttype

Table of Contents

setMetaContentType

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocumentHTML Method setMetaContentType Reference setMetaContentType() Never Work in Progress

Sets an http-equiv Content-Type meta tag. In the Joomla! 1.5 core, this method is called by the initDocument() function which is invoked in the index.php file. Therefore, it does not need to be called.

Syntax

void setMetaContentType ()

Examples

Example

global $mainframe;

$document =& JFactory::getDocument();
$document->setMetaContentType();
 
references/joomla.framework/document/jdocumenthtml-setmetacontenttype.txt (156724 views) · Last modified: 2007/08/15 14:58