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 l'interface FormatInterface
+ Graphe d'héritage de FormatInterface:

Fonctions membres publiques

 objectToString ($object, $options=null)
 
 stringToObject ($data, array $options=array())
 

Description détaillée

Interface defining a format object

Depuis
1.5.0

Documentation des fonctions membres

◆ objectToString()

objectToString (   $object,
  $options = null 
)

Converts an object into a formatted string.

Paramètres
object$objectData Source Object.
array$optionsAn array of options for the formatter.
Renvoie
string Formatted string.
Depuis
1.5.0

Implémenté dans Yaml, Ini, Xml, Php, et Json.

◆ stringToObject()

stringToObject (   $data,
array  $options = array() 
)

Converts a formatted string into an object.

Paramètres
string$dataFormatted string
array$optionsAn array of options for the formatter.
Renvoie
object Data Object
Depuis
1.5.0

Implémenté dans Ini, Php, Yaml, Json, et Xml.


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