@@ -8,10 +8,10 @@ elements for later retrieval and output in your layout script.
8
8
The ` HeadLink ` helper has special methods for adding stylesheet links to its
9
9
stack:
10
10
11
- - ` appendStylesheet($href, $media, $conditionalStylesheet, $extras) `
12
- - ` offsetSetStylesheet($index, $href, $media, $conditionalStylesheet, $extras) `
13
- - ` prependStylesheet($href, $media, $conditionalStylesheet, $extras) `
14
- - ` setStylesheet($href, $media, $conditionalStylesheet, $extras) `
11
+ - ` appendStylesheet($href, $media = 'screen' , $conditionalStylesheet = '' , $extras = array() ) `
12
+ - ` offsetSetStylesheet($index, $href, $media = 'screen' , $conditionalStylesheet = '' , $extras = array() ) `
13
+ - ` prependStylesheet($href, $media = 'screen' , $conditionalStylesheet = '' , $extras = array() ) `
14
+ - ` setStylesheet($href, $media = 'screen' , $conditionalStylesheet = '' , $extras = array() ) `
15
15
16
16
The ` $media ` value defaults to 'screen', but may be any valid media value.
17
17
` $conditionalStylesheet ` is a string or boolean ` false ` , and will be used at
@@ -22,10 +22,10 @@ extra values that you want to be added to the tag.
22
22
Additionally, the ` HeadLink ` helper has special methods for adding 'alternate'
23
23
links to its stack:
24
24
25
- - ` appendAlternate($href, $type, $title, $extras) `
26
- - ` offsetSetAlternate($index, $href, $type, $title, $extras) `
27
- - ` prependAlternate($href, $type, $title, $extras) `
28
- - ` setAlternate($href, $type, $title, $extras) `
25
+ - ` appendAlternate($href, $type, $title, $extras = array() ) `
26
+ - ` offsetSetAlternate($index, $href, $type, $title, $extras = array() ) `
27
+ - ` prependAlternate($href, $type, $title, $extras = array() ) `
28
+ - ` setAlternate($href, $type, $title, $extras = array() ) `
29
29
30
30
The ` headLink() ` helper method allows specifying all attributes necessary for a
31
31
` <link> ` element, and allows you to also specify placement: whether the
0 commit comments