Nextcloud PHP API (master)

CriticalActionPerformedEvent extends Event
in package

Emitted when the admin_audit app should log an entry

Tags
since
22.0.0

Table of Contents

Properties

$logMessage  : string
$obfuscateParameters  : bool
$operation  : string|null
$parameters  : array<string|int, mixed>

Methods

__construct()  : mixed
Compatibility constructor
getLogMessage()  : string
getObfuscateParameters()  : bool
getOperation()  : string|null
getParameters()  : array<string|int, mixed>
isPropagationStopped()  : bool
{@inheritDoc}
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

Methods

__construct()

Compatibility constructor

public __construct(string $logMessage[, array<string|int, mixed> $parameters = [] ][, bool $obfuscateParameters = false ][, string|null $operation = null ]) : mixed
Parameters
$logMessage : string
$parameters : array<string|int, mixed> = []
$obfuscateParameters : bool = false
$operation : string|null = null

Stable identifier of the action in the form app.entity.action, e.g. federatedfilesharing.share.accepted

Tags
throws
InvalidArgumentException

if $operation is not in the form app.entity.action

since
22.0.0
36.0.0

added the $operation parameter

getParameters()

public getParameters() : array<string|int, mixed>
Tags
since
22.0.0
Return values
array<string|int, mixed>

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Attributes
#[Override]
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0
On this page

Search results