PHP Class lithium\template\helper\Html

Inheritance: extends lithium\template\Helper
Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Public Properties

Property Type Description
$contentMap array Used by output handlers to calculate asset paths in conjunction with the Media class.

Protected Properties

Property Type Description
$_metaLinks array Data used for custom links.
$_metaList array List of meta tags to cache and to output.
$_strings array String templates used by this helper.

Public Methods

Method Description
charset ( string $encoding = null ) : string Returns a charset meta-tag for declaring the encoding of the document.
head ( string $tag, array $options ) : mixed Creates a tag for the section of your document.
image ( string $path, array $options = [] ) : string Creates a formatted element.
link ( string $title, mixed $url = null, array $options = [] ) : string Creates an HTML link () or a document meta-link ().
script ( mixed $path, array $options = [] ) : string Returns a JavaScript include tag (