roundcubemail/program/lib/Roundcube/html.php
public static function a($attr, $cont)
    {
        if (is_string($attr)) {
            $attr = array('href' => $attr);
        }

        return self::tag('a', $attr, $cont, array_merge(self::$common_attrib,
            array('href','target','name','rel','onclick','onmouseover','onmouseout','onmousedown','onmouseup')));
    }
public static function a($attr, $cont)
    {
        if (is_string($attr)) {
            $attr = array('href' => $attr);
        }

        return self::tag('a', $attr, $cont, array_merge(self::$common_attrib,
            array('href','target','name','rel','onclick','onmouseover','onmouseout','onmousedown','onmouseup')));
    }
public static function a ( $ attr , $ cont ) { if ( is_string ( $ attr ) ) { $ attr = array ( 'href' => $ attr ) ; } return self :: tag ( 'a' , $ attr , $ cont , array_merge ( self :: $ common_attrib , array ( 'href' , 'target' , 'name' , 'rel' , 'onclick' , 'onmouseover' , 'onmouseout' , 'onmousedown' , 'onmouseup' ) ) ) ; }
Derrived method for link tags

@param mixed  $attr Hash array with tag attributes or string with link location (href)
@param string $cont Link content

@return string HTML code
@see html::tag()
Derrived method for link tags