Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe FOFHalRenderJson
+ Graphe d'héritage de FOFHalRenderJson:

Fonctions membres publiques

 __construct (&$document)
 
 render ($options=array())
 

Fonctions membres protégées

 _getLink (FOFHalLink $link)
 

Attributs protégés

 $_document
 

Attributs privés

 $_dataKey = '_list'
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( $document)

Public constructor

Paramètres
FOFHalDocument&$documentThe document to render

Références $document.

Documentation des fonctions membres

◆ _getLink()

_getLink ( FOFHalLink  $link)
protected

Converts a FOFHalLink object into a stdClass object which will be used for JSON serialisation

Paramètres
FOFHalLink$linkThe link you want converted
Renvoie
stdClass The converted link object

Références $link.

◆ render()

render (   $options = array())

Render a HAL document in JSON format

Paramètres
array$optionsRendering options. You can currently only set json_options (json_encode options)
Renvoie
string The JSON representation of the HAL document

Implémente FOFHalRenderInterface.

Références $data, $link, $options, $rel, $renderer, et elseif.

Documentation des champs

◆ $_dataKey

$_dataKey = '_list'
private

◆ $_document

$_document
protected

La documentation de cette classe a été générée à partir du fichier suivant :