SwatObject
└─SwatHtmlHeadEntrySet
public class SwatHtmlHeadEntrySet
extends SwatObject
| Constructor Summary | |
|---|---|
SwatHtmlHeadEntrySet(SwatHtmlHeadEntrySet set) Creates a new HTML head entry collection. |
|
| Method Summary | |
|---|---|
| void | addEntry(SwatHtmlHeadEntry entry) Adds a HTML head entry to this set. |
| void | addEntrySet(SwatHtmlHeadEntrySet set) Adds a set of HTML head entries to this set. |
| void | display(string uri_prefix) Displays this set of HTML head entries. |
| protected void | displayEntriesForPackage(mixed package_id, mixed uri_prefix) |
| protected void | displayEntriesRecursive(mixed package_id, mixed display_method, mixed display_method_parameters) |
| void | displayInline(mixed path, mixed type) Displays the contents of the set of HTML head entries inline. |
| protected void | displayInlineEntriesForPackage(mixed package_id, mixed path, mixed type) |
public SwatHtmlHeadEntrySet(SwatHtmlHeadEntrySet set)
Creates a new HTML head entry collection
set - an optional existing HTML head entry set to build this set from.public void addEntry(SwatHtmlHeadEntry entry)
Adds a HTML head entry to this set
entry - the entry to add.public void addEntrySet(SwatHtmlHeadEntrySet set)
Adds a set of HTML head entries to this set
set - the set to add.public void display(string uri_prefix)
Displays this set of HTML head entries
uri_prefix - an optional URI prefix to prepend to all the displayed HTML head entries.protected void displayEntriesForPackage(mixed package_id, mixed uri_prefix)
protected void displayEntriesRecursive(mixed package_id, mixed display_method, mixed display_method_parameters)
public void displayInline(mixed path, mixed type)
Displays the contents of the set of HTML head entries inline
protected void displayInlineEntriesForPackage(mixed package_id, mixed path, mixed type)
A collection of HTML head entries
This collection class manages all the sorting and merging of entries.