Difference between revisions of "JDocument::addScriptDeclaration"
From Joomla! Documentation
m (JoomlaWikiBot moved page JDocument::addScriptDeclaration/11.1 to API17:JDocument::addScriptDeclaration without leaving a redirect: Robot: Moved page) |
m (→See also: moving preparation) |
||
(One intermediate revision by the same user not shown) | |||
Line 36: | Line 36: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDocument::addScriptDeclaration source code''' on [[jplatform:document/document.php#cl-406|BitBucket]] | * {{JVer|11.1}} '''JDocument::addScriptDeclaration source code''' on [[jplatform:document/document.php#cl-406|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JDocument | + | * {{JVer|11.1}} Class [[API17:JDocument|JDocument]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Document | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]] |
− | * [[JDocument::addScriptDeclaration|Other versions of JDocument::addScriptDeclaration]] | + | * [[API17:JDocument::addScriptDeclaration|Other versions of JDocument::addScriptDeclaration]] |
{{SeeAlso:JDocument::addScriptDeclaration}} | {{SeeAlso:JDocument::addScriptDeclaration}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 54: | Line 54: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:26, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDocument::addScriptDeclaration[edit]
Description[edit]
Adds a script to the page.
Template:Description:JDocument::addScriptDeclaration [Edit Descripton]
public function addScriptDeclaration (
$content
$type= 'text/javascript'
)
Parameter | Type | Default | Description |
---|---|---|---|
$content | string | Script | |
$type | string | 'text/javascript' | Scripting mime (defaults to 'text/javascript') |
- Returns void
- Defined on line 414 of libraries/joomla/document/document.php
See also[edit]
- JDocument::addScriptDeclaration source code on BitBucket
- Class JDocument
- Subpackage Document
- Other versions of JDocument::addScriptDeclaration
Template:SeeAlso:JDocument::addScriptDeclaration [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />