Previous Page
addScriptInline()

Solar_App_Base_Helper_Head
addStyle()

Next Page
addStyleBase()

addStyle()

public Solar_View_Helper_Head addStyle ( string $href, array $attribs default NULL )

Adds a <style> tag as part of the "additional" (override) styles.

Inherited from Solar_View_Helper_Head.

Parameters

  • (string) $href: The file HREF for the style source.
  • (array) $attribs: Attributes for the tag.

Returns

  • (Solar_View_Helper_Head)

Description

Adds a <style> tag as part of the "additional" (override) styles.

Generally used by views, not layouts. If the file has already been added, it does not get added again.