JApplication/prependMetaTag: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 41: | Line 41: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=prependMetaTag | category=prependMetaTag | ||
category=JApplication | category=JApplication | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 00:17, 25 March 2017
Description
Deprecated, use JDocument->setMetaData instead
<! removed transcluded page call, red link never existed >
Syntax
prependMetaTag($name, $content)
| Parameter Name | Default Value | Description |
|---|---|---|
| $name | Name of the metadata tag | |
| $content | Content of the metadata tag |
Defined in
libraries/joomla/application/application.php
Importing
jimport( 'joomla.application.application' );
Source Body
function prependMetaTag( $name, $content )
{
$this->addMetaTag($name, $content);
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples