Nextcloud PHP API (stable18)

GenericEntityEvent implements IEntityEvent

Class GenericEntityEvent

Tags
since
18.0.0

Interfaces, Classes and Traits

IEntityEvent
Interface IEntityEvent

Table of Contents

$displayName  : string
$eventName  : string
__construct()  : mixed
GenericEntityEvent constructor.
getDisplayName()  : string
returns a translated name to be presented in the web interface.
getEventName()  : string
returns the event name that is emitted by the EventDispatcher, e.g.:

Properties

Methods

__construct()

GenericEntityEvent constructor.

public __construct(string $displayName, string $eventName) : mixed
Parameters
$displayName : string
$eventName : string
Tags
since
18.0.0
Return values
mixed

getDisplayName()

returns a translated name to be presented in the web interface.

public getDisplayName() : string

Example: "created" (en), "kreita" (eo)

Tags
since
18.0.0
Return values
string

getEventName()

returns the event name that is emitted by the EventDispatcher, e.g.:

public getEventName() : string

Example: "OCA\MyApp\Factory\Cats::postCreated"

Tags
since
18.0.0
Return values
string

Search results