API17

API17:JDocument::addStyleDeclaration

From Joomla! Documentation

Revision as of 15:17, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDocument::addStyleDeclaration

Description

Adds a stylesheet declaration to the page.

{{subst:Description:JDocument::addStyleDeclaration}}

public function addStyleDeclaration (
        $content
        $type= 'text/css'
)
Parameter Type Default Description
$content string Style declarations
$type string 'text/css' Type of stylesheet (defaults to 'text/css')
  • Returns void
  • Defined on line 445 of libraries/joomla/document/document.php

See also

{{subst:SeeAlso:JDocument::addStyleDeclaration}}

User contributed notes

<CodeExamplesForm />