DownloadExtensionViewHelper extends AbstractFormViewHelper

ViewHelper

Internal

Table of Contents

Properties

$extensionService  : ExtensionService
$persistenceManager  : PersistenceManagerInterface
$tagName  : string

Methods

initializeArguments()  : mixed
Initialize arguments.
injectExtensionService()  : mixed
injectPersistenceManager()  : mixed
render()  : string
Renders a download link
getDefaultFieldNamePrefix()  : string
Retrieves the default field name prefix for this form
getFieldNamePrefix()  : string
Get the field name prefix
prefixFieldName()  : string
Prefixes / namespaces the given name with the form field prefix
registerFieldNameForFormTokenGeneration()  : mixed
Register a field name for inclusion in the HMAC / Form Token generation
renderHiddenIdentityField()  : string
Renders a hidden form field containing the technical identity of the given object.

Properties

$tagName

protected string $tagName = 'form'

Methods

initializeArguments()

Initialize arguments.

public initializeArguments() : mixed

render()

Renders a download link

public render() : string
Return values
string

the rendered a tag

getDefaultFieldNamePrefix()

Retrieves the default field name prefix for this form

protected getDefaultFieldNamePrefix() : string
Return values
string

default field name prefix

getFieldNamePrefix()

Get the field name prefix

protected getFieldNamePrefix() : string
Return values
string

prefixFieldName()

Prefixes / namespaces the given name with the form field prefix

protected prefixFieldName(string $fieldName) : string
Parameters
$fieldName : string

field name to be prefixed

Return values
string

namespaced field name

registerFieldNameForFormTokenGeneration()

Register a field name for inclusion in the HMAC / Form Token generation

protected registerFieldNameForFormTokenGeneration(string $fieldName) : mixed
Parameters
$fieldName : string

name of the field to register

renderHiddenIdentityField()

Renders a hidden form field containing the technical identity of the given object.

protected renderHiddenIdentityField(object $object, string $name) : string
Parameters
$object : object

Object to create the identity field for

$name : string

Name

Tags
see
Argument::setValue()
Return values
string

A hidden field containing the Identity (UID in TYPO3 Flow, uid in Extbase) of the given object or NULL if the object is unknown to the persistence framework


        
On this page

Search results