public static function icon($icon, $link, array $attributes = array())
    {
        // Inner text
        $text = sprintf('<i class="%s"></i> ', $icon);

        return self::link($text, $link, $attributes);
    }
public static function icon($icon, $link, array $attributes = array())
    {
        // Inner text
        $text = sprintf('<i class="%s"></i> ', $icon);

        return self::link($text, $link, $attributes);
    }
public static function icon ( $ icon , $ link , array $ attributes = array ( ) ) { // Inner text $ text = sprintf ( '<i class="%s"></i> ' , $ icon ) ; return self :: link ( $ text , $ link , $ attributes ) ; }
Creates a link with inner icon

@param string $icon
@param string $link
@param array $attributes Extra attributes
@return string
Creates a link with inner icon