Nextcloud PHP API (master)

GetQuotaEvent extends Event
in package

Event to allow apps to

Tags
since
20.0.0

Table of Contents

Properties

$propagationStopped  : bool
$quota  : string|null
$user  : IUser

Methods

__construct()  : mixed
Compatibility constructor
getQuota()  : string|null
Get the set quota as human readable string, or null if no overwrite is set
getUser()  : IUser
isPropagationStopped()  : bool
{@inheritDoc}
setQuota()  : void
Set the quota overwrite as human readable string
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

Compatibility constructor

public __construct(IUser $user) : mixed
Parameters
$user : IUser
Tags
since
20.0.0

getQuota()

Get the set quota as human readable string, or null if no overwrite is set

public getQuota() : string|null
Tags
since
20.0.0
Return values
string|null

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

setQuota()

Set the quota overwrite as human readable string

public setQuota(string $quota) : void
Parameters
$quota : string
Tags
since
20.0.0

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results