\apex\transaction\controller\transactionlottery_win

Lottery winning transaction controller.

Summary

Methods
Properties
Constants
get_amount()
get_name()
approved()
$name
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : 

Type

Methods

get_amount()

get_amount(  $tx) 

Get amount

Get the amount of the transaction. Can be used to either, retrieve amount from the database, add / subtract fees, change the inputted amount as needed, etc. To change the amount, just modify the parent::$amount variable directly.

Parameters

$tx

get_name()

get_name(array  $row) : string

Gets the full name of the transaction to display within the table listing transactions.

Parameters

array $row

The row from the 'transaction' table.

Returns

string —

The name to display in the web browser.

approved()

approved(  $tx) 

Approve transaction

Parameters

$tx