JDocument::addStyleDeclaration
Adds a stylesheet declaration to the page
Signature
public function addStyleDeclaration(string
$content,
[string
$type = 'text/css'] )
Parameters
-
$content
- Style declarations
-
$type
- Type of stylesheet (defaults to 'text/css')
Returns
- JDocument
- instance of $this to allow chaining