source/Application/Model/MediaUrl.php
public function getHtmlLink($blNewPage = true)
    {
        $sForceBlank = $blNewPage ? ' target="_blank"' : '';
        $sDesc = $this->oxmediaurls__oxdesc->value;
        $sUrl = $this->getLink();

        $sHtmlLink = "<a href=\"$sUrl\"{$sForceBlank}>$sDesc</a>";

        return $sHtmlLink;
    }
public function getHtmlLink($blNewPage = true)
    {
        $sForceBlank = $blNewPage ? ' target="_blank"' : '';
        $sDesc = $this->oxmediaurls__oxdesc->value;
        $sUrl = $this->getLink();

        $sHtmlLink = "<a href=\"$sUrl\"{$sForceBlank}>$sDesc</a>";

        return $sHtmlLink;
    }
public function getHtmlLink ( $ blNewPage = true ) { $ sForceBlank = $ blNewPage ? ' target="_blank"' : '' ; $ sDesc = $ this -> oxmediaurls__oxdesc -> value ; $ sUrl = $ this -> getLink ( ) ; $ sHtmlLink = "<a href=\"$sUrl\"{$sForceBlank}>$sDesc</a>" ; return $ sHtmlLink ; }
Returns simple HTML link

@param bool $blNewPage Whether to open link in new window (adds target=_blank to link)

@return string
Returns simple HTML link