/** * Returns the vote currently in progress. * @param $multicall * @return Structures\Vote */ function getCurrentCallVote($multicall = false) { if ($multicall) { return $this->execute(ucfirst(__FUNCTION__), array(), $this->structHandler('Vote')); } return Structures\Vote::fromArray($this->execute(ucfirst(__FUNCTION__))); }
/** * Returns the vote currently in progress. * The returned structure is { CallerLogin, CmdName, CmdParam }. * @return Structures\Vote */ function getCurrentCallVote() { return Structures\Vote::fromArray($this->execute(ucfirst(__FUNCTION__))); }