JDocumentJSON: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/document/json/json.php | libraries/joomla/document/json/json.php | ||
| Line 32: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDocumentJSON | category=JDocumentJSON | ||
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