Nextcloud PHP API (master)

GenericEntityEvent
in package
implements IEntityEvent

Class GenericEntityEvent

Tags
since
18.0.0

Table of Contents

Interfaces

IEntityEvent
Interface IEntityEvent

Properties

$displayName  : string
$eventName  : string

Methods

__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

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

        
On this page

Search results