silverorange Code


Swat.SwatHtmlHeadEntrySet
/Swat/SwatHtmlHeadEntrySet.php at line 18

Class SwatHtmlHeadEntrySet

SwatObject
└─SwatHtmlHeadEntrySet

public class SwatHtmlHeadEntrySet
extends SwatObject

A collection of HTML head entries

This collection class manages all the sorting and merging of entries.

Copyright:
2006 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

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)

Constructor Detail

/Swat/SwatHtmlHeadEntrySet.php at line 63

SwatHtmlHeadEntrySet

public SwatHtmlHeadEntrySet(SwatHtmlHeadEntrySet set)

Creates a new HTML head entry collection

Parameters:
set - an optional existing HTML head entry set to build this set from.

Method Detail

/Swat/SwatHtmlHeadEntrySet.php at line 82

addEntry

public void addEntry(SwatHtmlHeadEntry entry)

Adds a HTML head entry to this set

Parameters:
entry - the entry to add.

/Swat/SwatHtmlHeadEntrySet.php at line 106

addEntrySet

public void addEntrySet(SwatHtmlHeadEntrySet set)

Adds a set of HTML head entries to this set

Parameters:
set - the set to add.

/Swat/SwatHtmlHeadEntrySet.php at line 121

display

public void display(string uri_prefix)

Displays this set of HTML head entries

Parameters:
uri_prefix - an optional URI prefix to prepend to all the displayed HTML head entries.

/Swat/SwatHtmlHeadEntrySet.php at line 199

displayEntriesForPackage

protected void displayEntriesForPackage(mixed package_id, mixed uri_prefix)

/Swat/SwatHtmlHeadEntrySet.php at line 150

displayEntriesRecursive

protected void displayEntriesRecursive(mixed package_id, mixed display_method, mixed display_method_parameters)

/Swat/SwatHtmlHeadEntrySet.php at line 137

displayInline

public void displayInline(mixed path, mixed type)

Displays the contents of the set of HTML head entries inline


/Swat/SwatHtmlHeadEntrySet.php at line 218

displayInlineEntriesForPackage

protected void displayInlineEntriesForPackage(mixed package_id, mixed path, mixed type)

silverorange Code