JHtml::stylesheet
Write a <link rel="stylesheet" style="text/css" /> element
Signature
public function stylesheet(string
$file,
[array
$attribs = false,
[boolean
$relative = false,
[boolean
$path_only = false,
[boolean
$detect_browser = true,
[boolean
$detect_debug = true]]]]] )
Parameters
-
$file
- path to file
-
$attribs
- attributes to be added to the stylesheet
-
$relative
- path to file is relative to /media folder
-
$path_only
- return the path to the file only
-
$detect_browser
- detect browser to include specific browser css files
-
$detect_debug
- detect debug to search for compressed files if debug is on
Returns
- mixed
- nothing if $path_only is false, null, path or array of path if specific css browser files were detected