Metatag
in package

This is the Metatag class.

Tags
see
Metatag::getName()
see
Metatag::getProperty()
see
Metatag::getContent()
see
Metatag::getHttpEquiv()
see
Metatag::addContent()
see
Metatag::output()

Table of Contents

CONTENT  = 'content'
HTTP_EQUIV  = 'http-equiv'
NAME  = 'name'
PROPERTY  = 'property'
addContent() Add content to the content metatag value.  : Metatag
getContent() Returns the content metatag value.  : string
getHttpEquiv() Returns the http-equiv metatag value.  : string
getName() Returns the name metatag value.  : string
getProperty() Returns the property metatag value.  : string
output() Returns the full output of the metatag.  : string
setContent() This method sets the content tag of the metatag and returns self.  : self
setHttpEquiv() This method sets the http-equiv tag of the metatag and returns self.  : self
setName() This method sets the name tag of the metatag and returns self.  : self
setProperty() This method sets the property tag of the metatag and returns self.  : self

Constants

CONTENT

public mixed CONTENT = 'content'

HTTP_EQUIV

public mixed HTTP_EQUIV = 'http-equiv'

PROPERTY

public mixed PROPERTY = 'property'

Methods

addContent()

Add content to the content metatag value.

public addContent(string $content) : Metatag
Parameters
$content : string
Return values
Metatag

getContent()

Returns the content metatag value.

public getContent() : string
Return values
string

getHttpEquiv()

Returns the http-equiv metatag value.

public getHttpEquiv() : string
Return values
string

getName()

Returns the name metatag value.

public getName() : string
Return values
string

getProperty()

Returns the property metatag value.

public getProperty() : string
Return values
string

output()

Returns the full output of the metatag.

public output() : string
Return values
string

setContent()

This method sets the content tag of the metatag and returns self.

public setContent(string $content) : self
Parameters
$content : string
Return values
self

setHttpEquiv()

This method sets the http-equiv tag of the metatag and returns self.

public setHttpEquiv(string $httpEquiv) : self
Parameters
$httpEquiv : string
Return values
self

setName()

This method sets the name tag of the metatag and returns self.

public setName(string $name) : self
Parameters
$name : string
Return values
self

setProperty()

This method sets the property tag of the metatag and returns self.

public setProperty(string $property) : self
Parameters
$property : string
Return values
self

Search results