DownloadExtensionViewHelper extends AbstractFormViewHelper

FinalYes

Render a link to download an extension.

Internal

Table of Contents

Properties

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

Methods

initializeArguments()  : void
injectExtensionService()  : void
injectIconFactory()  : void
injectPersistenceManager()  : void
render()  : string
getLanguageService()  : LanguageService
prefixFieldName()  : string
Prefixes / namespaces the given name with the form field prefix
registerFieldNameForFormTokenGeneration()  : void
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()

public initializeArguments() : void

render()

public render() : string
Return values
string

prefixFieldName()

Prefixes / namespaces the given name with the form field prefix

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

registerFieldNameForFormTokenGeneration()

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

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

renderHiddenIdentityField()

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

protected renderHiddenIdentityField(mixed $object, string|null $name) : string
Parameters
$object : mixed

Object to create the identity field for. Non-objects are ignored.

$name : string|null

Name

Tags
see
Argument::setValue()
Return values
string

A hidden field containing the Identity (uid) of the given object


        
On this page

Search results