protected function _renderStyle($style, $link, $attribs = array())
    {
        $attribs = AnHelperArray::toString($attribs);

        if (!$link) {
            $html  = '<style type="text/css" '.$attribs.'>'."\n";
            $html .= trim($style['data']);
            $html .= '</style>'."\n";
        } else {
            $html = '<link type="text/css" rel="stylesheet" href="'.$style.'" '.$attribs.' />'."\n";
        }

        return $html;
    }
protected function _renderStyle($style, $link, $attribs = array())
    {
        $attribs = AnHelperArray::toString($attribs);

        if (!$link) {
            $html  = '<style type="text/css" '.$attribs.'>'."\n";
            $html .= trim($style['data']);
            $html .= '</style>'."\n";
        } else {
            $html = '<link type="text/css" rel="stylesheet" href="'.$style.'" '.$attribs.' />'."\n";
        }

        return $html;
    }
protected function _renderStyle ( $ style , $ link , $ attribs = array ( ) ) { $ attribs = AnHelperArray :: toString ( $ attribs ) ; if ( ! $ link ) { $ html = '<style type="text/css" ' . $ attribs . '>' . "\n" ; $ html .= trim ( $ style [ 'data' ] ) ; $ html .= '</style>' . "\n" ; } else { $ html = '<link type="text/css" rel="stylesheet" href="' . $ style . '" ' . $ attribs . ' />' . "\n" ; } return $ html ; }
Render style information

@param 	string	The style information
@param 	boolean	True, if the style information is a URL
@param 	array	Associative array of attributes
@return string
Render style information