API17

JDocument::addStyleDeclaration: Difference between revisions

From Joomla! Documentation

m User contributed notes: moving preparation
m See also: moving preparation
Line 36: Line 36:
===See also===
===See also===
* {{JVer|11.1}} '''JDocument::addStyleDeclaration source code''' on [[jplatform:document/document.php#cl-437|BitBucket]]
* {{JVer|11.1}} '''JDocument::addStyleDeclaration source code''' on [[jplatform:document/document.php#cl-437|BitBucket]]
* {{JVer|11.1}} Class [[JDocument/11.1|JDocument]]
* {{JVer|11.1}} Class [[API17:JDocument|JDocument]]
* {{JVer|11.1}} Subpackage [[Subpackage_Document/11.1|Document]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
* [[JDocument::addStyleDeclaration|Other versions of JDocument::addStyleDeclaration]]
* [[API17:JDocument::addStyleDeclaration|Other versions of JDocument::addStyleDeclaration]]
{{SeeAlso:JDocument::addStyleDeclaration}}
{{SeeAlso:JDocument::addStyleDeclaration}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">

Revision as of 01:26, 12 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 />