GetQuotaEvent
extends Event
in package
Event to allow apps to
Tags
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
$quota
private
string|null
$quota
= null
$user
private
IUser
$user
Methods
__construct()
Compatibility constructor
public
__construct(IUser $user) : mixed
Parameters
- $user : IUser
Tags
getQuota()
Get the set quota as human readable string, or null if no overwrite is set
public
getQuota() : string|null
Tags
Return values
string|nullgetUser()
public
getUser() : IUser
Tags
Return values
IUserisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolsetQuota()
Set the quota overwrite as human readable string
public
setQuota(string $quota) : void
Parameters
- $quota : string
Tags
stopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void