TriggerViewHelper extends AbstractBackendViewHelper

Special ViewHelper for the BE module of the Extension Manager. Loads JS code for triggering refresh events.

= Examples =

Writes custom HTML instruction tags
Internal

Table of Contents

Properties

$escapeOutput  : bool

Methods

getModuleTemplate()  : ModuleTemplate
Gets instance of template if exists or create a new one.
getPageRenderer()  : PageRenderer
Gets instance of PageRenderer if exists or create a new one.
initializeArguments()  : mixed
Initializes the arguments
render()  : string
Loads some JS inline code based on a list of triggers. This is used to reload the main menu when modules are loaded/unloaded.
buildInstructionDataTag()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

Methods

getModuleTemplate()

Gets instance of template if exists or create a new one.

public getModuleTemplate() : ModuleTemplate

Saves instance in viewHelperVariableContainer

Return values
ModuleTemplate

getPageRenderer()

Gets instance of PageRenderer if exists or create a new one.

public getPageRenderer() : PageRenderer

Saves instance in viewHelperVariableContainer

Return values
PageRenderer

initializeArguments()

Initializes the arguments

public initializeArguments() : mixed

render()

Loads some JS inline code based on a list of triggers. This is used to reload the main menu when modules are loaded/unloaded.

public render() : string
Return values
string

This ViewHelper does not return any content

buildInstructionDataTag()

protected buildInstructionDataTag(string $dispatchAction) : string
Parameters
$dispatchAction : string
Return values
string

        
On this page

Search results