API16

JDocumentJSON: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JDocumentJSON}} ===Defined ...
 
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDocumentJSON|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JDocumentJSON}}
===Defined in===
===Defined in===
libraries/joomla/document/json/json.php
libraries/joomla/document/json/json.php
Line 34: Line 29:
<source lang="php">jimport( 'joomla.document.json.json' );</source>
<source lang="php">jimport( 'joomla.document.json.json' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentJSON|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{SeeAlso:JDocumentJSON}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JDocumentJSON
  category=JDocumentJSON
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:33, 25 March 2017

Defined in

libraries/joomla/document/json/json.php

Methods

Method name Description
__construct Class constructor
render Render the document.
getHeadData Get the document head data
setHeadData Set the document head data
getName Returns the document name
setName Sets the document name

Importing

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



Examples

Code Examples