public function appendStylesheet($href, $media = null, array $attributes = [], $priority = false)
    {
        static $counter = 0;
        
        $attributes['rel'] = 'stylesheet';
        $attributes['href'] = $href;
        //$attributes['type'] = 'text/css';
        $media && $attributes['media'] = $media;
        $this->links[$priority == 'high' ? $counter + 1000 : $counter] = Html::buildHtmlElement('link', $attributes);
        $counter++;
        return $this;
    }
public function appendStylesheet($href, $media = null, array $attributes = [], $priority = false)
    {
        static $counter = 0;
        
        $attributes['rel'] = 'stylesheet';
        $attributes['href'] = $href;
        //$attributes['type'] = 'text/css';
        $media && $attributes['media'] = $media;
        $this->links[$priority == 'high' ? $counter + 1000 : $counter] = Html::buildHtmlElement('link', $attributes);
        $counter++;
        return $this;
    }
public function appendStylesheet ( $ href , $ media = null , array $ attributes = [ ] , $ priority = false ) { static $ counter = 0 ; $ attributes [ 'rel' ] = 'stylesheet' ; $ attributes [ 'href' ] = $ href ; //$attributes['type'] = 'text/css'; $ media && $ attributes [ 'media' ] = $ media ; $ this -> links [ $ priority == 'high' ? $ counter + 1000 : $ counter ] = Html :: buildHtmlElement ( 'link' , $ attributes ) ; $ counter ++ ; return $ this ; }
Link to a CSS stylesheet
@param string $href
@param string $media
@param array $attributes
@return \Osf\View\Helper\HeadLink
Link to a CSS stylesheet