Package

ViewHelpers

ViewHelper Documentation

be.buttons.icon

View helper which returns a button icon

= Examples =

<f:be.buttons.icon uri="{f:uri.action()}" /> An icon button as known from the TYPO3 backend, skinned and linked with the default action of the current controller. Note: By default the "close" icon is used as image

<f:be.buttons.icon uri="{f:uri.action(action:'new')}" icon="actions-document-new" title="Create new Foo" />

<f:be.buttons.icon icon="actions-document-new" title="Create new Foo" /> Here the "actions-document-new" icon is returned, but without link.

Arguments

uri string

The target URI for the link. If you want to execute JavaScript here, prefix the URI with

icon string

Icon to be used.

title string

Title attribute of the icon construct

additionalAttributes anySimpleType

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

ViewHelper Resources

Schema Resources