Copied!

GenerateContentPreviewUrlEvent

GenerateContentPreviewUrlEvent.php : 14
Extends Event

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

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