Nextcloud PHP API (master)

ActivitySettings
in package
implements ISetting

Tags
since
20.0.0

Interfaces, Classes, Traits and Enums

ISetting
Interface ISetting

Table of Contents

canChangeMail()  : bool
canChangeNotification()  : bool
canChangeStream()  : bool
Left in for backwards compatibility
getGroupIdentifier()  : string
getGroupName()  : string
getIdentifier()  : string
getName()  : string
getPriority()  : int
isDefaultEnabledMail()  : bool
isDefaultEnabledNotification()  : bool
isDefaultEnabledStream()  : bool
Left in for backwards compatibility

Methods

canChangeMail()

public canChangeMail() : bool
Tags
since
20.0.0
Return values
bool

True when the option can be changed for the mail

canChangeNotification()

public canChangeNotification() : bool
Tags
since
20.0.0
Return values
bool

True when the option can be changed for the notification

canChangeStream()

Left in for backwards compatibility

public canChangeStream() : bool
Tags
since
20.0.0
Return values
bool

getGroupIdentifier()

public abstract getGroupIdentifier() : string
Tags
since
20.0.0
Return values
string

Lowercase a-z and underscore only group identifier

getGroupName()

public abstract getGroupName() : string
Tags
since
20.0.0
Return values
string

A translated string for the settings group

getIdentifier()

public abstract getIdentifier() : string
Tags
since
20.0.0
Return values
string

Lowercase a-z and underscore only identifier

getName()

public abstract getName() : string
Tags
since
20.0.0
Return values
string

A translated string

getPriority()

public abstract getPriority() : int
Tags
since
20.0.0
Return values
int

whether the filter should be rather on the top or bottom of the admin section. The filters are arranged in ascending order of the priority values. It is required to return a value between 0 and 100.

isDefaultEnabledMail()

public isDefaultEnabledMail() : bool
Tags
since
20.0.0
Return values
bool

Whether or not an activity email should be send by default

isDefaultEnabledNotification()

public isDefaultEnabledNotification() : bool
Tags
since
20.0.0
Return values
bool

Whether or not an activity notification should be send by default

isDefaultEnabledStream()

Left in for backwards compatibility

public isDefaultEnabledStream() : bool
Tags
since
20.0.0
Return values
bool

Search results