API17

JDocumentJSON: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<span class="editsection" style="font-size:76%;">
=={{JVer|11.1}} JDocumentJSON==
<nowiki>[</nowiki>[[Description:JDocumentJSON|Edit Descripton]]<nowiki>]</nowiki>
===Description===
</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
|-
|-
|[[JDocumentJSON::__construct/11.1|__construct]]
|public
|[[API17:JDocumentJSON::__construct|__construct]]
|Class constructor.  
|Class constructor.  
|-
|-
|[[JDocumentJSON::getHeadData/11.1|getHeadData]]
|public
|[[API17:JDocumentJSON::getHeadData|getHeadData]]
|Get the document head data.  
|Get the document head data.  
|-
|-
|[[JDocumentJSON::getName/11.1|getName]]
|public
|[[API17:JDocumentJSON::getName|getName]]
|Returns the document name.  
|Returns the document name.  
|-
|-
|[[JDocumentJSON::render/11.1|render]]
|public
|[[API17:JDocumentJSON::render|render]]
|Render the document.  
|Render the document.  
|-
|-
|[[JDocumentJSON::setHeadData/11.1|setHeadData]]
|public
|[[API17:JDocumentJSON::setHeadData|setHeadData]]
|Set the document head data.  
|Set the document head data.  
|-
|-
|[[JDocumentJSON::setName/11.1|setName]]
|public
|[[API17:JDocumentJSON::setName|setName]]
|Sets the document name.  
|Sets the document name.  
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/document/json/json.php
* '''Extends''' [[API17:JDocument|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]]
{{SeeAlso:JDocumentJSON}}
* {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]]
<span class="editsection" style="font-size:76%;">
* [[API17:JDocumentJSON|Other versions of JDocumentJSON]]
<nowiki>[</nowiki>[[SeeAlso:JDocumentJSON|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDocumentJSON
category=JDocumentJSON
category=CodeExample
namespace=CodeExample
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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:53, 25 March 2017

Joomla 11.1 JDocumentJSON

Description

Methods

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

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

See also


User contributed notes

Code Examples