API17

Difference between revisions of "JDocument::setMetaData"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JDocument::setMetaData/11.1 to API17:JDocument::setMetaData without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 17:20, 10 May 2013

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[edit]

Description[edit]

Sets or alters a meta tag.

Template:Description:JDocument::setMetaData [Edit Descripton]

public function setMetaData (
        $name
        $content
        $http_equiv=false
        $sync=true
)
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[edit]

Template:SeeAlso:JDocument::setMetaData [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />