/**
  * Get the current ratios for passing votes, extended version with parameters matching.
  * @param bool $multicall
  * @return Structures\VoteRatio[]
  */
 function getCallVoteRatios($multicall = false)
 {
     if ($multicall) {
         return $this->execute(ucfirst(__FUNCTION__) . 'Ex', array(), $this->structHandler('VoteRatio', true));
     }
     return Structures\VoteRatio::fromArrayOfArray($this->execute(ucfirst(__FUNCTION__) . 'Ex'));
 }
Example #2
0
 /**
  * Get the current ratios for passing votes, extended version with parameters matching.
  * @return Structures\VoteRatio[]
  */
 function getCallVoteRatiosEx()
 {
     return Structures\VoteRatio::fromArrayOfArray($this->execute(ucfirst(__FUNCTION__)));
 }