TriggerViewHelper extends AbstractBackendViewHelper
FinalYes
Special ViewHelper for the BE module of the Extension Manager. Loads JS code for triggering refresh events.
= Examples =
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
Return values
ModuleTemplategetPageRenderer()
Gets instance of PageRenderer if exists or create a new one.
public
getPageRenderer() : PageRenderer
Saves instance in viewHelperVariableContainer
Return values
PageRendererinitializeArguments()
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
stringbuildInstructionDataTag()
protected
buildInstructionDataTag(string $dispatchAction) : string
Parameters
- $dispatchAction : string