IEvent
                
            in
            
        
    
        
            Interface IEvent
Tags
Table of Contents
Methods
- getAffectedUser() : string
 - getApp() : string
 - getAuthor() : string
 - getChildEvent() : IEvent|null
 - getGenerateNotification() : bool
 - Whether a notification should be automatically generated for this activity.
 - getIcon() : string
 - Get the absolute url for the icon (should be colored black or not have a color)
 - getLink() : string
 - getMessage() : string
 - getMessageParameters() : array<string|int, mixed>
 - getObjectId() : int
 - getObjectName() : string
 - getObjectType() : string
 - getParsedMessage() : string
 - getParsedSubject() : string
 - getRichMessage() : string
 - getRichMessageParameters() : array<string, array<string, string>>
 - getRichSubject() : string
 - getRichSubjectParameters() : array<string, array<string, string>>
 - getSubject() : string
 - getSubjectParameters() : array<string|int, mixed>
 - getTimestamp() : int
 - getType() : string
 - isValid() : bool
 - isValidParsed() : bool
 - setAffectedUser() : IEvent
 - Set the affected user of the activity
 - setApp() : IEvent
 - Set the app of the activity
 - setAuthor() : IEvent
 - Set the author of the activity
 - setChildEvent() : $this
 - setGenerateNotification() : IEvent
 - Set whether a notification should be automatically generated for this activity.
 - setIcon() : $this
 - Set the absolute url for the icon (should be colored black or not have a color)
 - setLink() : IEvent
 - Set the link of the activity
 - setMessage() : IEvent
 - Set the message of the activity
 - setObject() : IEvent
 - Set the object of the activity
 - setParsedMessage() : $this
 - Set a parsed message
 - setParsedSubject() : $this
 - Set a parsed subject
 - setRichMessage() : $this
 - Set a RichObjectString message
 - setRichSubject() : $this
 - Set a RichObjectString subject
 - setSubject() : IEvent
 - Set the subject of the activity
 - setTimestamp() : IEvent
 - Set the author of the activity
 - setType() : IEvent
 - Set the type of the activity
 
Methods
getAffectedUser()
    public
                    getAffectedUser() : string
    Tags
Return values
stringgetApp()
    public
                    getApp() : string
    Tags
Return values
stringgetAuthor()
    public
                    getAuthor() : string
    Tags
Return values
stringgetChildEvent()
    public
                    getChildEvent() : IEvent|null
    Tags
Return values
IEvent|nullgetGenerateNotification()
Whether a notification should be automatically generated for this activity.
    public
                    getGenerateNotification() : bool
    Tags
Return values
boolgetIcon()
Get the absolute url for the icon (should be colored black or not have a color)
    public
                    getIcon() : string
    It's automatically color inverted by clients when needed
Tags
Return values
stringgetLink()
    public
                    getLink() : string
    Tags
Return values
stringgetMessage()
    public
                    getMessage() : string
    Tags
Return values
stringgetMessageParameters()
    public
                    getMessageParameters() : array<string|int, mixed>
    Tags
Return values
array<string|int, mixed>getObjectId()
    public
                    getObjectId() : int
    Tags
Return values
intgetObjectName()
    public
                    getObjectName() : string
    Tags
Return values
stringgetObjectType()
    public
                    getObjectType() : string
    Tags
Return values
stringgetParsedMessage()
    public
                    getParsedMessage() : string
    Tags
Return values
stringgetParsedSubject()
    public
                    getParsedSubject() : string
    Tags
Return values
stringgetRichMessage()
    public
                    getRichMessage() : string
    Tags
Return values
stringgetRichMessageParameters()
    public
                    getRichMessageParameters() : array<string, array<string, string>>
    Tags
Return values
array<string, array<string, string>>getRichSubject()
    public
                    getRichSubject() : string
    Tags
Return values
stringgetRichSubjectParameters()
    public
                    getRichSubjectParameters() : array<string, array<string, string>>
    Tags
Return values
array<string, array<string, string>>getSubject()
    public
                    getSubject() : string
    Tags
Return values
stringgetSubjectParameters()
    public
                    getSubjectParameters() : array<string|int, mixed>
    Tags
Return values
array<string|int, mixed>getTimestamp()
    public
                    getTimestamp() : int
    Tags
Return values
intgetType()
    public
                    getType() : string
    Tags
Return values
stringisValid()
    public
                    isValid() : bool
    Tags
Return values
boolisValidParsed()
    public
                    isValidParsed() : bool
    Tags
Return values
boolsetAffectedUser()
Set the affected user of the activity
    public
                    setAffectedUser(string $affectedUser) : IEvent
    Parameters
- $affectedUser : string
 
Tags
Return values
IEventsetApp()
Set the app of the activity
    public
                    setApp(string $app) : IEvent
    Parameters
- $app : string
 
Tags
Return values
IEventsetAuthor()
Set the author of the activity
    public
                    setAuthor(string $author) : IEvent
    Parameters
- $author : string
 
Tags
Return values
IEventsetChildEvent()
    public
                    setChildEvent(IEvent $child) : $this
    Parameters
- $child : IEvent
 
Tags
Return values
$thissetGenerateNotification()
Set whether a notification should be automatically generated for this activity.
    public
                    setGenerateNotification(bool $generate) : IEvent
    Set this to false if the app already generates a notification for the event.
Parameters
- $generate : bool
 
Tags
Return values
IEventsetIcon()
Set the absolute url for the icon (should be colored black or not have a color)
    public
                    setIcon(string $icon) : $this
    It's automatically color inverted by clients when needed
Parameters
- $icon : string
 
Tags
Return values
$thissetLink()
Set the link of the activity
    public
                    setLink(string $link) : IEvent
    Parameters
- $link : string
 
Tags
Return values
IEventsetMessage()
Set the message of the activity
    public
                    setMessage(string $message[, array<string|int, mixed> $parameters = [] ]) : IEvent
    Parameters
- $message : string
 - $parameters : array<string|int, mixed> = []
 
Tags
Return values
IEventsetObject()
Set the object of the activity
    public
                    setObject(string $objectType, int $objectId[, string $objectName = '' ]) : IEvent
    Parameters
- $objectType : string
 - $objectId : int
 - $objectName : string = ''
 
Tags
Return values
IEventsetParsedMessage()
Set a parsed message
    public
                    setParsedMessage(string $message) : $this
    HTML is not allowed in the parsed message and will be escaped automatically by the clients. You can use the RichObjectString system provided by the Nextcloud server to highlight important parameters via the setRichMessage method.
See https://github.com/nextcloud/server/issues/1706 for more information.
Parameters
- $message : string
 
Tags
Return values
$thissetParsedSubject()
Set a parsed subject
    public
                    setParsedSubject(string $subject) : $this
    HTML is not allowed in the parsed subject and will be escaped automatically by the clients. You can use the RichObjectString system provided by the Nextcloud server to highlight important parameters via the setRichSubject method.
See https://github.com/nextcloud/server/issues/1706 for more information.
Parameters
- $subject : string
 
Tags
Return values
$thissetRichMessage()
Set a RichObjectString message
    public
                    setRichMessage(string $message[, array<string, array<string, string>> $parameters = [] ]) : $this
    HTML is not allowed in the rich message and will be escaped automatically by the clients, but you can use the RichObjectString system provided by the Nextcloud server to highlight important parameters.
See https://github.com/nextcloud/server/issues/1706 for more information.
Parameters
- $message : string
 - $parameters : array<string, array<string, string>> = []
 
Tags
Return values
$thissetRichSubject()
Set a RichObjectString subject
    public
                    setRichSubject(string $subject[, array<string, array<string, string>> $parameters = [] ]) : $this
    HTML is not allowed in the rich subject and will be escaped automatically by the clients, but you can use the RichObjectString system provided by the Nextcloud server to highlight important parameters.
See https://github.com/nextcloud/server/issues/1706 for more information.
Parameters
- $subject : string
 - $parameters : array<string, array<string, string>> = []
 
Tags
Return values
$thissetSubject()
Set the subject of the activity
    public
                    setSubject(string $subject[, array<string|int, mixed> $parameters = [] ]) : IEvent
    Parameters
- $subject : string
 - $parameters : array<string|int, mixed> = []
 
Tags
Return values
IEventsetTimestamp()
Set the author of the activity
    public
                    setTimestamp(int $timestamp) : IEvent
    Parameters
- $timestamp : int
 
Tags
Return values
IEventsetType()
Set the type of the activity
    public
                    setType(string $type) : IEvent
    Parameters
- $type : string