TeamSpeak3/Viewer/Html.php
protected function getImage($name, $text = "", $class = null, $iconpath = true, $flagpath = false)
    {
        $src = "";

        if ($iconpath) {
            $src = $this->iconpath;
        }

        if ($flagpath) {
            $src = $this->flagpath;
        }

        return "<img src='" . $src . $name . "' title='" . $text . "' alt='' align='top' />";
    }
protected function getImage($name, $text = "", $class = null, $iconpath = true, $flagpath = false)
    {
        $src = "";

        if ($iconpath) {
            $src = $this->iconpath;
        }

        if ($flagpath) {
            $src = $this->flagpath;
        }

        return "<img src='" . $src . $name . "' title='" . $text . "' alt='' align='top' />";
    }
protected function getImage ( $ name , $ text = "" , $ class = null , $ iconpath = true , $ flagpath = false ) { $ src = "" ; if ( $ iconpath ) { $ src = $ this -> iconpath ; } if ( $ flagpath ) { $ src = $ this -> flagpath ; } return "<img src='" . $ src . $ name . "' title='" . $ text . "' alt='' align='top' />" ; }
Returns the code to display a custom HTML img tag.

@param  string $name
@param  string $text
@param  string $class
@param  boolean $iconpath
@param  boolean $flagpath
@return string
Returns the code to display a custom HTML img tag .