JDocumentJSON: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=={{JVer|11.1}} JDocumentJSON== | |||
===Description=== | |||
{{ | |||
=== | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
!Visibility | |||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
|[[JDocumentJSON::__construct | |public | ||
|[[API17:JDocumentJSON::__construct|__construct]] | |||
|Class constructor. | |Class constructor. | ||
|- | |- | ||
|[[JDocumentJSON::getHeadData | |public | ||
|[[API17:JDocumentJSON::getHeadData|getHeadData]] | |||
|Get the document head data. | |Get the document head data. | ||
|- | |- | ||
|[[JDocumentJSON::getName | |public | ||
|[[API17:JDocumentJSON::getName|getName]] | |||
|Returns the document name. | |Returns the document name. | ||
|- | |- | ||
|[[JDocumentJSON::render | |public | ||
|[[API17:JDocumentJSON::render|render]] | |||
|Render the document. | |Render the document. | ||
|- | |- | ||
|[[JDocumentJSON::setHeadData | |public | ||
|[[API17:JDocumentJSON::setHeadData|setHeadData]] | |||
|Set the document head data. | |Set the document head data. | ||
|- | |- | ||
|[[JDocumentJSON::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=== | ||
* [[ | * {{JVer|11.1}} '''JDocumentJSON source code''' on [[jplatform:document/json/json.php|BitBucket]] | ||
{{ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]] | ||
* [[API17:JDocumentJSON|Other versions of JDocumentJSON]] | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDocumentJSON | category=JDocumentJSON | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude> | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:53, 25 March 2017
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
JDocumentJSON source code on BitBucket
Subpackage Document- Other versions of JDocumentJSON
User contributed notes
Code Examples