Copied!

GenerateContentPreviewUrlEvent

GenerateContentPreviewUrlEvent.php : 14
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.

Constants

publicNAME

GenerateContentPreviewUrlEvent.php : 16
public mixed NAME = 'ibexa.page_builder.generate_content_preview_url'

Methods

public__construct()

GenerateContentPreviewUrlEvent.php : 30
public __construct(Content $content, string $routeName, array<string|int, mixed> $parameters, int $referenceType)

Parameters

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

publicaddParameter()

GenerateContentPreviewUrlEvent.php : 74
public addParameter(string $parameterName, string $parameterValue) : void

Parameters

Name Type Default value Description
$parameterName string - -
$parameterValue string - -

publicgetContent()

GenerateContentPreviewUrlEvent.php : 38
public getContent() : Content

Return values

Content

publicgetParameters()

GenerateContentPreviewUrlEvent.php : 61
public getParameters() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetReferenceType()

GenerateContentPreviewUrlEvent.php : 79
public getReferenceType() : int

Return values

int

publicgetRouteName()

GenerateContentPreviewUrlEvent.php : 48
public getRouteName() : string

Return values

string

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetContent()

GenerateContentPreviewUrlEvent.php : 43
public setContent(Content $content) : void

Parameters

Name Type Default value Description
$content Content - -

publicsetParameters()

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

Parameters

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

publicsetReferenceType()

GenerateContentPreviewUrlEvent.php : 84
public setReferenceType(int $referenceType) : void

Parameters

Name Type Default value Description
$referenceType int - -

publicsetRouteName()

GenerateContentPreviewUrlEvent.php : 53
public setRouteName(string $routeName) : void

Parameters

Name Type Default value Description
$routeName string - -

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