public function iconDownload()
    {
        if ($this->iconIsLocal("client_icon_id") || $this["client_icon_id"] == 0) {
            return;
        }

        $download = $this->getParent()->transferInitDownload(
            rand(0x0000, 0xFFFF),
            0,
            $this->iconGetName("client_icon_id")
        );
        $transfer = Teamspeak::factory("filetransfer://" . $download["host"] . ":" . $download["port"]);

        return $transfer->download($download["ftkey"], $download["size"]);
    }
public function iconDownload()
    {
        if ($this->iconIsLocal("client_icon_id") || $this["client_icon_id"] == 0) {
            return;
        }

        $download = $this->getParent()->transferInitDownload(
            rand(0x0000, 0xFFFF),
            0,
            $this->iconGetName("client_icon_id")
        );
        $transfer = Teamspeak::factory("filetransfer://" . $download["host"] . ":" . $download["port"]);

        return $transfer->download($download["ftkey"], $download["size"]);
    }
public function iconDownload ( ) { if ( $ this -> iconIsLocal ( "client_icon_id" ) || $ this [ "client_icon_id" ] == 0 ) { return ; } $ download = $ this -> getParent ( ) -> transferInitDownload ( rand ( 0x0000 , 0xFFFF ) , 0 , $ this -> iconGetName ( "client_icon_id" ) ) ; $ transfer = Teamspeak :: factory ( "filetransfer://" . $ download [ "host" ] . ":" . $ download [ "port" ] ) ; return $ transfer -> download ( $ download [ "ftkey" ] , $ download [ "size" ] ) ; }
Downloads and returns the clients icon file content.

@return TeamSpeak3_Helper_String
Downloads and returns the clients icon file content .