TypoScriptConstantsViewHelper extends AbstractTagBasedViewHelper

ViewHelper for rendering - extension configuration forms in install tool (Settings -> Extension Configuration - site settings in Sites Module (site settings per site configuration)

Internal

Table of Contents

Properties

$tagName  : string
$viewHelperMapping  : array<string|int, mixed>

Methods

initialize()  : mixed
Create a fresh instance of $this->tag each time this VH is called.
initializeArguments()  : mixed
Initialize arguments of this ViewHelper
render()  : string
Render
renderCheckbox()  : string
Render field of type "checkbox"
addIdAttribute()  : void
Build and add id-attribute from $configuration
getFieldName()  : string
Get Field Name
getLanguageService()  : LanguageService|null
renderColorPicker()  : string
Render field of type color picker
renderHiddenFieldForEmptyValue()  : string
Render a hidden field for empty values
renderIntegerField()  : string
Render field of type "integer"
renderOffsetField()  : string
Render field of type "offset"
renderOptionSelect()  : string
Render field of type "option"
renderPositiveIntegerField()  : string
Render field of type "int+"
renderSmallTextField()  : string
Render field of type "small text"
renderTextField()  : string
Render field of type "text"
renderUserFunction()  : string
Render field of type "userFunc"
renderWrapField()  : string
Render field of type "wrap"

Properties

$viewHelperMapping

public array<string|int, mixed> $viewHelperMapping = [ 'int' => 'renderIntegerField', 'int+' => 'renderPositiveIntegerField', 'integer' => 'renderIntegerField', 'color' => 'renderColorPicker', 'wrap' => 'renderWrapField', 'offset' => 'renderOffsetField', 'options' => 'renderOptionSelect', 'boolean' => 'renderCheckbox', 'user' => 'renderUserFunction', 'small' => 'renderSmallTextField', 'string' => 'renderTextField', 'input' => 'renderTextField', // only for backwards compatibility, many extensions depend on that 'default' => 'renderTextField', ]

Methods

initialize()

Create a fresh instance of $this->tag each time this VH is called.

public initialize() : mixed

initializeArguments()

Initialize arguments of this ViewHelper

public initializeArguments() : mixed

render()

Render

public render() : string
Return values
string

the rendered tag

renderCheckbox()

Render field of type "checkbox"

public renderCheckbox(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

addIdAttribute()

Build and add id-attribute from $configuration

protected addIdAttribute(array<string|int, mixed> $configuration) : void
Parameters
$configuration : array<string|int, mixed>

getFieldName()

Get Field Name

protected getFieldName(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderColorPicker()

Render field of type color picker

protected renderColorPicker(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderHiddenFieldForEmptyValue()

Render a hidden field for empty values

protected renderHiddenFieldForEmptyValue(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderIntegerField()

Render field of type "integer"

protected renderIntegerField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderOffsetField()

Render field of type "offset"

protected renderOffsetField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderOptionSelect()

Render field of type "option"

protected renderOptionSelect(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderPositiveIntegerField()

Render field of type "int+"

protected renderPositiveIntegerField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderSmallTextField()

Render field of type "small text"

protected renderSmallTextField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderTextField()

Render field of type "text"

protected renderTextField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderUserFunction()

Render field of type "userFunc"

protected renderUserFunction(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

renderWrapField()

Render field of type "wrap"

protected renderWrapField(array<string|int, mixed> $configuration) : string
Parameters
$configuration : array<string|int, mixed>
Return values
string

        
On this page

Search results