This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Helper_Html

Direct known subclasses

HtmlHelper

Indirect known subclasses

Concrete5_Helper_Html_V2, HtmlV2Helper

Package: Helpers
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/helpers/html.php

Methods summary

public CSSOutputObject
# css( string $file, string $pkgHandle = null, array $uniqueItemHandle = array() )

Includes a CSS file. This function looks in several places. First, if the item is either a path or a URL it just returns the link to that item (as XHTML-formatted style tag.) Then it checks the currently active theme, then if a package is specified it checks there. Otherwise if nothing is found it fires off a request to the relative directory CSS directory. If nothing is there, then it checks to the assets directories

public JavaScriptOutputObject
# javascript( string $file, string $pkgHandle = null, array $uniqueItemHandle = array() )

Includes a JavaScript file. This function looks in several places. First, if the item is either a path or a URL it just returns the link to that item (as XHTML-formatted script tag.) If a package is specified it checks there. Otherwise if nothing is found it fires off a request to the relative directory JavaScript directory.

public InlineScriptOutputObject
# script( string $script, array $uniqueItemHandle = array() )

Includes a JavaScript inline script.