DownloadExtensionViewHelper extends AbstractFormViewHelper
FinalYes
Render a link to download an extension.
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
$extensionService
protected
ExtensionService
$extensionService
$iconFactory
protected
IconFactory
$iconFactory
$persistenceManager
protected
PersistenceManagerInterface
$persistenceManager
$tagName
protected
string
$tagName
= 'form'
Methods
initializeArguments()
public
initializeArguments() : void
injectExtensionService()
public
injectExtensionService(ExtensionService $extensionService) : void
Parameters
- $extensionService : ExtensionService
injectIconFactory()
public
injectIconFactory(IconFactory $iconFactory) : void
Parameters
- $iconFactory : IconFactory
injectPersistenceManager()
public
injectPersistenceManager(PersistenceManagerInterface $persistenceManager) : void
Parameters
- $persistenceManager : PersistenceManagerInterface
render()
public
render() : string
Return values
stringgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServiceprefixFieldName()
Prefixes / namespaces the given name with the form field prefix
protected
prefixFieldName(string $fieldName) : string
Parameters
- $fieldName : string
Return values
stringregisterFieldNameForFormTokenGeneration()
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
Return values
string —A hidden field containing the Identity (uid) of the given object