API17

JDocument::addStyleDeclaration: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Adds a stylesheet declaration to the page.  
Adds a stylesheet declaration to the page.  


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


<source lang="php">
<source lang="php">
Line 37: Line 37:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
* [[API17:JDocument::addStyleDeclaration|Other versions of JDocument::addStyleDeclaration]]
* [[API17:JDocument::addStyleDeclaration|Other versions of JDocument::addStyleDeclaration]]
{{subst:SeeAlso:JDocument::addStyleDeclaration}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDocument::addStyleDeclaration
category=JDocument::addStyleDeclaration
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:51, 25 March 2017

Joomla 11.1 JDocument::addStyleDeclaration

Description

Adds a stylesheet declaration to the page.


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


User contributed notes

Code Examples