Docs Goabase

ScoresAjax
in package
uses TraitDataWrite, TraitMemberLink, TraitScore

Table of Contents

Properties

$env  : array<string|int, mixed>
$input  : Input
$memberLink  : MemberLink
$scores  : Scores

Methods

__construct()  : mixed
getDataWriteInstance()  : DataWrite
getMemberLinkInstance()  : MemberLink
getResult()  : string
getScoresInstance()  : Scores
getScoreVotes()  : string
writeVote()  : array<string|int, string>

Properties

Methods

getResult()

public getResult([int $aID = 0 ][, string $action = 'get-vote-forum' ]) : string
Parameters
$aID : int = 0
$action : string = 'get-vote-forum'
Tags
throws
RandomException
Return values
string

getScoreVotes()

public getScoreVotes() : string
Tags
throws
RandomException
Return values
string

writeVote()

public writeVote(int $aID, string $action[, string $vote = '' ]) : array<string|int, string>
Parameters
$aID : int
$action : string
$vote : string = ''
Tags
throws
Exception
Return values
array<string|int, string>

        
On this page

Search results