Solar_View_Helper_Head::addStyle()

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

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

Parameters

  • (string) $href: The file HREF for the style source.

  • (array) $attribs: Attributes for the tag.

Returns

  • (Solar_View_Helper_Head)

Description

Adds a <link> 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.



Local