Solar_View_Helper_Style::style()

public string Solar_View_Helper_Style::style ( string $href , array $attribs = NULL )

Returns a <style>...</style> tag.

Parameters

  • (string) $href: The source href for the stylesheet.

  • (array) $attribs: Additional attributes for the <style> tag.

Returns

  • (string) The <style>...</style> tag.

Description

Returns a <style>...</style> tag.

Adds "media" attribute if not specified, and always uses "type" attribute of "text/css".



Local