Helper struct to provide data sources the don't track messages read or flagged state (like RSS) with an alternative.
| Methods | ||||
|---|---|---|---|---|
public
static
|
load($data)
|
# | ||
public
static
|
is_unread(string $uid): bool
Determine if a UID has been unread
Determine if a UID has been unread Parameters
Returnstrue if te UID exists |
# | ||
public
static
|
is_read(string $uid): bool
Determine if a UID has been read
Determine if a UID has been read Parameters
Returnstrue if te UID exists |
# | ||
public
static
|
dump(): array
Return all the UIDs
Return all the UIDs Returnslist of known UIDs |
# | ||
public
static
|
unread(string $uid)
Add a UID to the unread list
Add a UID to the unread list Parameters
|
# | ||
public
static
|
read(string $uid)
Add a UID to the read list
Add a UID to the read list Parameters
|
# | ||