ViewHelper Documentation


Tag building ViewHelper

Creates one HTML tag of any type, with various properties like class and ID applied only if arguments are not empty, rather than apply them always - empty or not - if provided.


additionalAttributes anySimpleType, required

Additional tag attributes. They will be added directly to the resulting HTML tag.

class string, required

CSS class(es) for this element

dir string, required

Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)

id string, required

Unique (in this file) identifier for this HTML element.

lang string, required

Language for this element. Use short names specified in RFC 1766

style string, required

Individual CSS styles for this element

title string, required

Tooltip text of element

accesskey string, required

Keyboard shortcut to access this element

tabindex integer, required

Specifies the tab order of this element

onclick string, required

JavaScript evaluated for the onclick event

name string, required

Tag name

hideIfEmpty boolean, required

Hide the tag completely if there is no tag content

ViewHelper Resources

Schema Resources