public function getVersion($channel = "stable")
    {
        switch ($channel) {
            case "stable":
                return isset($this->version_strings[0]) ? $this->version_strings[0] : null;

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

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

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

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

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

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

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

            default:
                throw new Ts3Exception("invalid update channel identifier (" . $channel . ")");
        }
    }
Returns the current version string for a specified update channel. $channel must be set to
one of the following values:

- stable
- beta
- alpha
- server

@param  string $channel
@throws Ts3Exception
@return integer