references:joomla.framework:application:japplication-addmetatagTable of Contents
addMetaTag
Adds a meta tag to the head block of the current document. The method is deprecated and provided for backwards compatibility with Joomla! 1.0. It is scheduled to be removed in future versions. Use JDocument::setMetaData instead. The $prepend and $append parameters have no effect in Joomla! 1.5. Syntaxvoid addMetaTag ( $name, $content, $prepend, $append )
ExamplesExample global $mainframe; $mainframe->addMetaTag( "metatagname", "metatagcontent" ); will insert the following meta tag into the head block of the current document: Result <meta name="metatagname" content="metatagcontent" /> |


