SwatObject
└─SwatHtmlHeadEntry
└─SwatCommentHtmlHeadEntry
public class SwatCommentHtmlHeadEntry
extends SwatHtmlHeadEntry
| Field Summary | |
|---|---|
| protected mixed | |
| Fields inherited from Swat.SwatHtmlHeadEntry | |
|---|---|
| package_id, uri | |
| Constructor Summary | |
|---|---|
SwatCommentHtmlHeadEntry(string comment, integer package_id) Creates a new HTML head entry. |
|
| Method Summary | |
|---|---|
| void | display(string uri_prefix) Displays this html head entry. |
| void | displayInline(string path) Displays the resource referenced by this html head entry inline. |
| Methods inherited from Swat.SwatHtmlHeadEntry | |
|---|---|
| display, displayInline, getPackageId, getType, getUri | |
protected mixed $comment
public SwatCommentHtmlHeadEntry(string comment, integer package_id)
Creates a new HTML head entry
comment - the comment of this entry.package_id - the package id of the package this HTML head entry belongs to.public void display(string uri_prefix)
Displays this html head entry
Entries are displayed differently based on type.
uri_prefix - an optional string to prefix the URI with.public void displayInline(string path)
Displays the resource referenced by this html head entry inline
Entries are displayed differently based on type.
path - the path containing the resource files.
Stores and outputs an HTML head entry for an XML comment