![]() |
IP.Board
3.3.0
|
Public Member Functions | |
| __construct (ipsRegistry $registry) | |
| convertData ($data) | |
| fetchUnreadCount ($data, $readItems, $lastReset) | |
Protected Attributes | |
| $_convertData = array( 'blogID' => 'item_app_key_1' ) | |
| $cache | |
| $caches | |
| $DB | |
| $lang | |
| $member | |
| $memberData | |
| $registry | |
| $request | |
| $settings | |
| __construct | ( | ipsRegistry $ | registry | ) |
#@- I'm a constructor, twisted constructor
public
| object | ipsRegistry reference |
| convertData | ( | $ | data | ) |
Convert Data Takes an array of app specific data and remaps it to the DB table fields
public
| array |
| fetchUnreadCount | ( | $ | data, |
| $ | readItems, | ||
| $ | lastReset | ||
| ) |
Fetch unread count
Grab the number of items truly unread This is called upon by 'markRead' when the number of items left hits zero (or less).
public
| array | Array of data |
| array | Array of read itemIDs |
| int | Last global reset |