Documentation

News
in package

Collection of functions to help with displaying news.

Table of Contents

Methods

doBreakingNewsAssign()  : void
doLottoNewsAssign()  : void
getNewsItems()  : array<string|int, array{Date: string, Message: string}>
Takes a populated query and returns the news items.

Methods

doBreakingNewsAssign()

public static doBreakingNewsAssign(int $gameID) : void
Parameters
$gameID : int

doLottoNewsAssign()

public static doLottoNewsAssign(int $gameID) : void
Parameters
$gameID : int

getNewsItems()

Takes a populated query and returns the news items.

public static getNewsItems(DatabaseResult $dbResult) : array<string|int, array{Date: string, Message: string}>
Parameters
$dbResult : DatabaseResult
Return values
array<string|int, array{Date: string, Message: string}>

        
On this page

Search results