Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php
protected function getCorpusTitle()
  {
    if($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Server)
    {
      return "ID: " . $this->currObj->getId() . " | Clients: " . $this->currObj->clientCount() . "/" . $this->currObj["virtualserver_maxclients"] . " | Uptime: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::seconds($this->currObj["virtualserver_uptime"]);
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Channel && !$this->currObj->isSpacer())
    {
      return "ID: " . $this->currObj->getId() . " | Codec: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::codec($this->currObj["channel_codec"]) . " | Quality: " . $this->currObj["channel_codec_quality"];
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Client)
    {
      return "ID: " . $this->currObj->getId() . " | Version: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::version($this->currObj["client_version"]) . " | Platform: " . $this->currObj["client_platform"];
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Servergroup || $this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Channelgroup)
    {
      return "ID: " . $this->currObj->getId() . " | Type: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::groupType($this->currObj["type"]) . " (" . ($this->currObj["savedb"] ? "Permanent" : "Temporary") . ")";
    }
  }
protected function getCorpusTitle()
  {
    if($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Server)
    {
      return "ID: " . $this->currObj->getId() . " | Clients: " . $this->currObj->clientCount() . "/" . $this->currObj["virtualserver_maxclients"] . " | Uptime: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::seconds($this->currObj["virtualserver_uptime"]);
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Channel && !$this->currObj->isSpacer())
    {
      return "ID: " . $this->currObj->getId() . " | Codec: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::codec($this->currObj["channel_codec"]) . " | Quality: " . $this->currObj["channel_codec_quality"];
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Client)
    {
      return "ID: " . $this->currObj->getId() . " | Version: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::version($this->currObj["client_version"]) . " | Platform: " . $this->currObj["client_platform"];
    }
    elseif($this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Servergroup || $this->currObj instanceof \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Node\Channelgroup)
    {
      return "ID: " . $this->currObj->getId() . " | Type: " . \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Convert::groupType($this->currObj["type"]) . " (" . ($this->currObj["savedb"] ? "Permanent" : "Temporary") . ")";
    }
  }
Returns the HTML img tags which can be used to display the various icons for a
TeamSpeak_Node_Abstract object.

@return string