Actions

API17

JDocument::setMetaData

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDocument::setMetaData

Description

Sets or alters a meta tag.

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

SeeAlso:JDocument::setMetaData [Edit See Also]

User contributed notes

<CodeExamplesForm />