Nextcloud Circles API

NotificationService
in package
Uses TNCLogger

Class NotificationService

Table of Contents

$ALERT  : mixed
$CRITICAL  : mixed
$DEBUG  : mixed
$EMERGENCY  : mixed
$ERROR  : mixed
$INFO  : mixed
$NOTICE  : mixed
$WARNING  : mixed
$memberRequest  : MemberRequest
$notificationManager  : IManager
$timezoneService  : TimezoneService
$urlGenerator  : IURLGenerator
__construct()  : mixed
NotificationService constructor.
alert()  : void
debug()  : void
deleteNotification()  : mixed
e()  : void
emergency()  : void
exception()  : void
log()  : void
logger()  : LoggerInterface
notice()  : void
notificationInvited()  : void
notificationRequested()  : void
t()  : void
throwable()  : void
warning()  : void
createMemberNotification()  : INotification
linkToOCS()  : string

Properties

$EMERGENCY

public static mixed $EMERGENCY = 4

Methods

__construct()

NotificationService constructor.

public __construct(IURLGenerator $urlGenerator, IManager $notificationManager, MemberRequest $memberRequest, TimezoneService $timezoneService) : mixed
Parameters
$urlGenerator : IURLGenerator
$notificationManager : IManager
$memberRequest : MemberRequest
$timezoneService : TimezoneService
Return values
mixed

alert()

public alert(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

debug()

public debug(string $message[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$serializable : array<string|int, mixed> = []
Return values
void

deleteNotification()

public deleteNotification(string $object, string $objectId) : mixed
Parameters
$object : string
$objectId : string
Return values
mixed

e()

public e(Exception $e[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$e : Exception
$serializable : array<string|int, mixed> = []
Return values
void

emergency()

public emergency(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

exception()

public exception(Exception $e[, int|array<string|int, mixed> $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$e : Exception
$level : int|array<string|int, mixed> = 3
$serializable : array<string|int, mixed> = []
Return values
void

log()

public log(int $level, string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$level : int
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

logger()

public logger() : LoggerInterface
Return values
LoggerInterface

notice()

public notice(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

t()

public t(Throwable $t[, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$t : Throwable
$serializable : array<string|int, mixed> = []
Return values
void

throwable()

public throwable(Throwable $t[, int $level = 3 ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$t : Throwable
$level : int = 3
$serializable : array<string|int, mixed> = []
Return values
void

warning()

public warning(string $message[, bool $trace = false ][, array<string|int, mixed> $serializable = [] ]) : void
Parameters
$message : string
$trace : bool = false
$serializable : array<string|int, mixed> = []
Return values
void

createMemberNotification()

private createMemberNotification(string $userId, string $memberId, string $subject) : INotification
Parameters
$userId : string
$memberId : string
$subject : string
Return values
INotification

linkToOCS()

private linkToOCS(string $route[, array<string|int, mixed> $params = [] ]) : string
Parameters
$route : string
$params : array<string|int, mixed> = []
Return values
string

Search results