Class TMetaTag
TMetaTag class.
TMetaTag represents a meta tag appearing in a page head section. You can set its ID, HttpEquiv, Name, Content, Scheme properties, which correspond to id, http-equiv, name, content, and scheme attributes for a meta tag, respectively.
Method Summary |
string
|
|
string
|
|
string
|
|
string
|
|
string
|
|
void
|
Renders the meta tag.
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
getContent
public string getContent |
() |
Output |
string
| content attribute of the meta tag |
Exception |
|
getHttpEquiv
public string getHttpEquiv |
() |
Output |
string
| http-equiv attribute of the meta tag |
Exception |
|
getID
Output |
string
| id of the meta tag |
Exception |
|
getName
Output |
string
| name attribute of the meta tag |
Exception |
|
getScheme
public string getScheme |
() |
Output |
string
| scheme attribute of the meta tag |
Exception |
|
render
Renders the meta tag.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
setContent
public void setContent |
(string $value ) |
Input |
string | $value | content attribute of the meta tag |
Output |
Exception |
|
setHttpEquiv
public void setHttpEquiv |
(string $value ) |
Input |
string | $value | http-equiv attribute of the meta tag |
Output |
Exception |
|
setID
public void setID |
(string $value ) |
Input |
string | $value | id of the meta tag |
Output |
Exception |
|
setName
public void setName |
(string $value ) |
Input |
string | $value | name attribute of the meta tag |
Output |
Exception |
|
setScheme
public void setScheme |
(string $value ) |
Input |
string | $value | scheme attribute of the meta tag |
Output |
Exception |
|
|