silverorange Code


Swat.SwatJavaScriptHtmlHeadEntry
/Swat/SwatJavaScriptHtmlHeadEntry.php at line 14

Class SwatJavaScriptHtmlHeadEntry

SwatObject
└─SwatHtmlHeadEntry
└─SwatJavaScriptHtmlHeadEntry

public class SwatJavaScriptHtmlHeadEntry
extends SwatHtmlHeadEntry

Stores and outputs an HTML head entry for a JavaScript include

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

Fields inherited from Swat.SwatHtmlHeadEntry
package_id, uri
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

Method Detail

/Swat/SwatJavaScriptHtmlHeadEntry.php at line 18

display

public void display(string uri_prefix)

Displays this html head entry

Entries are displayed differently based on type.

Parameters:
uri_prefix - an optional string to prefix the URI with.

/Swat/SwatJavaScriptHtmlHeadEntry.php at line 28

displayInline

public void displayInline(string path)

Displays the resource referenced by this html head entry inline

Entries are displayed differently based on type.

Parameters:
path - the path containing the resource files.

silverorange Code