Method | Description | |
---|---|---|
createAnnouncement ( array $post ) : boolean | Post a new announcement | |
dismissForUser ( integer $userID, string $announceUnique ) : boolean | Dismisses an announcement for a particular user. | |
getAnnouncementByUniqueID ( string $uniqueID ) : array | Get a particular announcement, given its unique ID. | |
getForUser ( integer $userID ) : array | Get all of the announcements the user has not yet dismissed. |
public createAnnouncement ( array $post ) : boolean | ||
$post | array | POST data from the Landing |
return | boolean |
public getAnnouncementByUniqueID ( string $uniqueID ) : array | ||
$uniqueID | string | |
return | array |
public getForUser ( integer $userID ) : array | ||
$userID | integer | |
return | array |