From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDocument::setMetaData


Sets or alters a meta tag.

public function setMetaData (
Parameter Type Default Description
$name string Value of name or http-equiv tag
$content string Value of the content tag
$http_equiv bool false META type "http-equiv" defaults to null
$sync bool true Should http-equiv="content-type" by synced with HTTP-header?
  • Returns void
  • Defined on line 377 of libraries/joomla/document/document.php

See also

User contributed notes

Code Examples