TeamSpeak3/Node/Channel.php
public function subChannelGetById($cid)
    {
        if (!array_key_exists((string)$cid, $this->subChannelList())) {
            throw new TeamSpeak3_Adapter_ServerQuery_Exception("invalid channelID", 0x300);
        }

        return $this->channelList[(string)$cid];
    }
public function subChannelGetById($cid)
    {
        if (!array_key_exists((string)$cid, $this->subChannelList())) {
            throw new TeamSpeak3_Adapter_ServerQuery_Exception("invalid channelID", 0x300);
        }

        return $this->channelList[(string)$cid];
    }
Returns the Channel object matching the given ID.

@param  integer $cid
@throws TeamSpeak3_Adapter_ServerQuery_Exception
@return Channel