InstallationStateCssClassViewHelper

final class \TYPO3\CMS\Extensionmanager\ViewHelpers\InstallationStateCssClassViewHelper

Extends
AbstractViewHelper

ViewHelper to returns a string meant to be used as CSS class, stating whether an extension is available or installed.

  <tr class="{em:installationStateCssClass(needle:extension.extensionKey, haystack:availableAndInstalled)}">

Table of Contents

Methods

initializeArguments()  : void
render()  : string
Returns string meant to be used as css class 'installed' => if an extension is installed 'available' => if an extension is available in the system '' (empty string) => if neither installed nor available

Methods

initializeArguments()

public initializeArguments() : void

render()

Returns string meant to be used as css class 'installed' => if an extension is installed 'available' => if an extension is available in the system '' (empty string) => if neither installed nor available

public render() : string

Return values

string
On this page