references:joomla.framework:document:jdocumenthtml-setmetadataTable of Contents
setMetaData
Sets or alters a meta tag. This function is called by the setMetaContentType method to set the http-equiv tag. Syntaxvoid setMetaData ( $name, $content, $http_equiv )
ExamplesSet a meta tag. Example global $mainframe; $document =& JFactory::getDocument(); $document->setMetaData( 'Publisher', 'Joomla! Documentation Team' ); might add the following tag to the head block: Result <meta name="Publisher" content="Joomla! Documentation Team" /> |


