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

Fonctions membres publiques statiques

static getInstance ($type, array $options=array())
 

Attributs protégés statiques

static $instances = array()
 

Membres hérités additionnels

- Fonctions membres publiques hérités de FormatInterface
 objectToString ($object, $options=null)
 
 stringToObject ($data, array $options=array())
 

Description détaillée

Abstract Format for Registry

Depuis
1.0
Obsolète:
2.0 Format objects should directly implement the FormatInterface

Documentation des fonctions membres

◆ getInstance()

static getInstance (   $type,
array  $options = array() 
)
static

Returns a reference to a Format object, only creating it if it doesn't already exist.

Paramètres
string$typeThe format to load
array$optionsAdditional options to configure the object
Renvoie
AbstractRegistryFormat Registry format handler
Obsolète:
2.0 Use Factory::getFormat() instead
Depuis
1.0
Exceptions

Références $options, $type, et Factory\getFormat().

Référencé par Registry\loadString(), et Json\stringToObject().

Documentation des champs

◆ $instances

$instances = array()
staticprotected

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