public function style($src, $attr = array())
    {
        $src = $this->Assets->getStyle($src);
        $attr['href'] = $src;

        $attr = array_merge(
            array(
                'media' => 'screen',
                'rel' => 'stylesheet',
                'type' => 'text/css'
            ),
            $attr
        );

        return $this->tag('link', $attr);
    }
public function style($src, $attr = array())
    {
        $src = $this->Assets->getStyle($src);
        $attr['href'] = $src;

        $attr = array_merge(
            array(
                'media' => 'screen',
                'rel' => 'stylesheet',
                'type' => 'text/css'
            ),
            $attr
        );

        return $this->tag('link', $attr);
    }
public function style ( $ src , $ attr = array ( ) ) { $ src = $ this -> Assets -> getStyle ( $ src ) ; $ attr [ 'href' ] = $ src ; $ attr = array_merge ( array ( 'media' => 'screen' , 'rel' => 'stylesheet' , 'type' => 'text/css' ) , $ attr ) ; return $ this -> tag ( 'link' , $ attr ) ; }
create a style link

@param   mixed   style path data - will be passed to the assets interface for processing
@param   array   attributes to be placed on the link tag
@return  string
create a style link