API17

Difference between revisions of "JDocumentJSON"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎User contributed notes: bad link repair)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JDocumentJSON==
 +
===Description===
 +
{{Description:JDocumentJSON}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDocumentJSON|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDocumentJSON|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JDocumentJSON}}
 
===Defined in===
 
libraries/joomla/document/json/json.php
 
===Subpackage===
 
[[Subpackage Document/11.1|Document]]
 
===Extends===
 
[[JDocument/11.1|JDocument]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::__construct/11.1|__construct]]
 
|[[JDocumentJSON::__construct/11.1|__construct]]
 
|Class constructor.  
 
|Class constructor.  
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::getHeadData/11.1|getHeadData]]
 
|[[JDocumentJSON::getHeadData/11.1|getHeadData]]
 
|Get the document head data.  
 
|Get the document head data.  
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::getName/11.1|getName]]
 
|[[JDocumentJSON::getName/11.1|getName]]
 
|Returns the document name.  
 
|Returns the document name.  
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::render/11.1|render]]
 
|[[JDocumentJSON::render/11.1|render]]
 
|Render the document.  
 
|Render the document.  
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::setHeadData/11.1|setHeadData]]
 
|[[JDocumentJSON::setHeadData/11.1|setHeadData]]
 
|Set the document head data.  
 
|Set the document head data.  
 
|-
 
|-
 +
|public
 
|[[JDocumentJSON::setName/11.1|setName]]
 
|[[JDocumentJSON::setName/11.1|setName]]
 
|Sets the document name.  
 
|Sets the document name.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/document/json/json.php
 +
* '''Extends''' [[JDocument/11.1|JDocument]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.document.json.json' );</source>
 
<source lang="php">jimport( 'joomla.document.json.json' );</source>
 
===See also===
 
===See also===
* [[JDocumentJSON|Other versions of this class]]
+
* {{JVer|11.1}} '''JDocumentJSON source code''' on [[jplatform:document/json/json.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Document/11.1|Document]]
 +
* [[JDocumentJSON|Other versions of JDocumentJSON]]
 
{{SeeAlso:JDocumentJSON}}
 
{{SeeAlso:JDocumentJSON}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentJSON|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentJSON|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 52: Line 58:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JDocumentJSON]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JDocumentJSON]]</noinclude>

Revision as of 13:37, 29 August 2012

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.

Joomla 11.1 JDocumentJSON[edit]

Description[edit]

Template:Description:JDocumentJSON [Edit Descripton]

Methods[edit]

Visibility Method name Description
public __construct Class constructor.
public getHeadData Get the document head data.
public getName Returns the document name.
public render Render the document.
public setHeadData Set the document head data.
public setName Sets the document name.
  • Defined in libraries/joomla/document/json/json.php
  • Extends JDocument

Importing[edit]

jimport( 'joomla.document.json.json' );

See also[edit]

Template:SeeAlso:JDocumentJSON [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />