Standard/TeamSpeak/TeamSpeak3/Adapter/Update.php
public function getRev($channel = "stable")
  {
    switch($channel)
    {
      case "stable":
        return isset($this->build_numbers[0]) ? $this->build_numbers[0] : null;

      case "beta":
        return isset($this->build_numbers[1]) ? $this->build_numbers[1] : null;

      case "alpha":
        return isset($this->build_numbers[2]) ? $this->build_numbers[2] : null;

      case "server":
        return isset($this->build_numbers[3]) ? $this->build_numbers[3] : null;

      default:
        throw new Update\Exception("invalid update channel identifier (" . $channel . ")");
    }
  }
public function getRev($channel = "stable")
  {
    switch($channel)
    {
      case "stable":
        return isset($this->build_numbers[0]) ? $this->build_numbers[0] : null;

      case "beta":
        return isset($this->build_numbers[1]) ? $this->build_numbers[1] : null;

      case "alpha":
        return isset($this->build_numbers[2]) ? $this->build_numbers[2] : null;

      case "server":
        return isset($this->build_numbers[3]) ? $this->build_numbers[3] : null;

      default:
        throw new Update\Exception("invalid update channel identifier (" . $channel . ")");
    }
  }
Returns the build number for a specified development status. $channel must be
set to one of the following values:

- stable
- beta
- alpha
- server

@param  string  $channel
@throws Update\Exception
@return integer