Nextcloud PHP API (master)

BeforeAppConfigSetEvent extends Event
in package

Emitted before an admin sets an app config value via occ or the provisioning API.

Listeners can refuse the change with setValid(false).

Tags
since
36.0.0
Attributes
#[Listenable]
$since: '36.0.0'

Table of Contents

Properties

$appId  : string
$configKey  : string
$configValue  : string
$valid  : bool

Methods

__construct()  : mixed
Compatibility constructor
getAppId()  : string
getConfigKey()  : string
getConfigValue()  : string
isPropagationStopped()  : bool
{@inheritDoc}
isRejected()  : bool
setValid()  : void
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

Methods

__construct()

Compatibility constructor

public __construct(string $appId, string $configKey, string $configValue) : mixed
Parameters
$appId : string
$configKey : string
$configValue : string
Tags
since
36.0.0

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