Copied!

TimelineEntryRenderEvent

TimelineEntryRenderEvent.php : 16
Extends Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Methods

public__construct()

TimelineEntryRenderEvent.php : 40
public __construct(WorkflowMetadata $workflowMetadata, AbstractEntry $entry, TemplateWrapper $template, string $blockName[, array<string|int, mixed> $parameters = [] ])

Parameters

Name Type Default value Description
$workflowMetadata WorkflowMetadata - -
$entry AbstractEntry - -
$template TemplateWrapper - -
$blockName string - -
$parameters array<string|int, mixed> [] -

publicgetBlockName()

TimelineEntryRenderEvent.php : 89
public getBlockName() : string

Return values

string

publicgetEntry()

TimelineEntryRenderEvent.php : 65
public getEntry() : AbstractEntry

Return values

AbstractEntry

publicgetParameters()

TimelineEntryRenderEvent.php : 105
public getParameters() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetTemplate()

TimelineEntryRenderEvent.php : 73
public getTemplate() : TemplateWrapper

Return values

TemplateWrapper

publicgetWorkflowMetadata()

TimelineEntryRenderEvent.php : 57
public getWorkflowMetadata() : WorkflowMetadata

Return values

WorkflowMetadata

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetBlockName()

TimelineEntryRenderEvent.php : 97
public setBlockName(string $blockName) : void

Parameters

Name Type Default value Description
$blockName string - -

publicsetParameters()

TimelineEntryRenderEvent.php : 113
public setParameters(array<string|int, mixed> $parameters) : void

Parameters

Name Type Default value Description
$parameters array<string|int, mixed> - -

publicsetTemplate()

TimelineEntryRenderEvent.php : 81
public setTemplate(TemplateWrapper $template) : void

Parameters

Name Type Default value Description
$template TemplateWrapper - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().