Previous Page
locale()

Solar_View_Helper_Style
style()

Next Class
Solar_View_Helper_Time

style()

public string style ( string $href, array $attribs default 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".