Revenue
Revenue PHP Methods
static createTop5() v5
Create top 5 revenue
PARAMETERS:
NONE
RETURN VALUE:
array = Top revenue array (an array contains revenue title and amount for the top 5 items)static getProductNamesArray() v5
Gets list of revenue products and amounts set for each
PARAMETERS:
NONE
RETURN VALUE:
array = list of revenue products and amounts set for eachstatic setTop5($topLargest, $newAmount, $newTitle) v5
Set top 5 revenue checker
PARAMETERS:
$topLargest = Array, top largest revenue array
$newAmount = float, top revenue amount
$newTitle = string, title of the top revenue
RETURN VALUE:
voidstatic showTop5($topLargest) v5
Show top 5 revenue content as HTML table
PARAMETERS:
$topLargest = array, Top revenue array (an array contains revenue title and amount for the top 5 items)
RETURN VALUE:
string = top 5 revenue content as HTML tableRevenue PHP Variables
🔎︎ %l4610%