TriggerViewHelper extends AbstractBackendViewHelper

FinalYes

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()  : void
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

Tags
todo:

deprecate. This should be obsolete with the new ModuleTemplate view strategy.

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()

public initializeArguments() : void

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

buildInstructionDataTag()

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

        
On this page

Search results