public static function formatLink($link, $activeClass, $hasChild = false, $breadcrumbLink = false) {
        return "<a".self::href($link).self::title($link).self::htmlClass(($breadcrumbLink ? '' : self::$linkDefaults['a_default'].' ').(isset($link['class']) ? $link['class'] : ''), $activeClass).self::target($link).self::rel($link).self::htmlID($link).($hasChild ? self::$dropdownLinkExtras : '').">".($breadcrumbLink ? '' : self::fontIcon($link)).self::label($link).($hasChild ? self::$caretElement : '')."</a>";
    }
public static function formatLink($link, $activeClass, $hasChild = false, $breadcrumbLink = false) {
        return "<a".self::href($link).self::title($link).self::htmlClass(($breadcrumbLink ? '' : self::$linkDefaults['a_default'].' ').(isset($link['class']) ? $link['class'] : ''), $activeClass).self::target($link).self::rel($link).self::htmlID($link).($hasChild ? self::$dropdownLinkExtras : '').">".($breadcrumbLink ? '' : self::fontIcon($link)).self::label($link).($hasChild ? self::$caretElement : '')."</a>";
    }
public static function formatLink ( $ link , $ activeClass , $ hasChild = false , $ breadcrumbLink = false ) { return "<a" . self :: href ( $ link ) . self :: title ( $ link ) . self :: htmlClass ( ( $ breadcrumbLink ? '' : self :: $ linkDefaults [ 'a_default' ] . ' ' ) . ( isset ( $ link [ 'class' ] ) ? $ link [ 'class' ] : '' ) , $ activeClass ) . self :: target ( $ link ) . self :: rel ( $ link ) . self :: htmlID ( $ link ) . ( $ hasChild ? self :: $ dropdownLinkExtras : '' ) . ">" . ( $ breadcrumbLink ? '' : self :: fontIcon ( $ link ) ) . self :: label ( $ link ) . ( $ hasChild ? self :: $ caretElement : '' ) . "</a>" ; }
Returns a formatted link with all of the attributes
@param array $link This should be an array containing all of the set link values
@param string $activeClass If the link is active should have the active class string set else should be empty
@param boolean If the element has any child elements set to true else set to false
@return string The HTML link element will be returned
Returns a formatted link with all of the attributes