Notification
Class Notification
Table of Contents
Methods
- checkAgent() : string
- get() : array<string|int, mixed>|false
- getLastCheckTimestamp() : mixed
- reset() : bool
- Resets notification
- set() : bool
- Sets notification for admin
- setLastCheckTimestamp() : mixed
Methods
checkAgent()
public
static checkAgent() : string
Return values
stringget()
public
static get() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|falsegetLastCheckTimestamp()
public
static getLastCheckTimestamp() : mixed
reset()
Resets notification
public
static reset() : bool
Return values
boolset()
Sets notification for admin
public
static set(string $code[, string $url = '' ]) : bool
Parameters
- $code : string
- $url : string = ''
Return values
boolsetLastCheckTimestamp()
public
static setLastCheckTimestamp(mixed $timestamp) : mixed
Parameters
- $timestamp : mixed