API17

JDocument::addStyleDeclaration: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JDocument::addStyleDeclaration/11.1 to API17:JDocument::addStyleDeclaration without leaving a redirect: Robot: Moved page
m →User contributed notes: moving preparation
Line 54: Line 54:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDocument]][[Category:JDocument::addStyleDeclaration]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 15:45, 11 May 2013

Joomla 11.1 JDocument::addStyleDeclaration

Description

Adds a stylesheet declaration to the page.

Template:Description:JDocument::addStyleDeclaration [Edit Descripton]

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

Template:SeeAlso:JDocument::addStyleDeclaration [Edit See Also]

User contributed notes

<CodeExamplesForm />