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

Fonctions membres publiques

 createModel ($name, $prefix='', array $config=array())
 
 createView ($name, $prefix='', $type='', array $config=array())
 
 createTable ($name, $prefix='', array $config=array())
 

Description détaillée

Factory to create MVC objects.

Depuis
3.10.0

Documentation des fonctions membres

◆ createModel()

createModel (   $name,
  $prefix = '',
array  $config = array() 
)

Method to load and return a model object.

Paramètres
string$nameThe name of the model.
string$prefixOptional model prefix.
array$configOptional configuration array for the model.
Renvoie
The model object
Depuis
3.10.0
Exceptions

Implémenté dans MVCFactory, et LegacyFactory.

◆ createTable()

createTable (   $name,
  $prefix = '',
array  $config = array() 
)

Method to load and return a table object.

Paramètres
string$nameThe name of the table.
string$prefixOptional table prefix.
array$configOptional configuration array for the table.
Renvoie
The table object
Depuis
3.10.0
Exceptions

Implémenté dans MVCFactory, et LegacyFactory.

◆ createView()

createView (   $name,
  $prefix = '',
  $type = '',
array  $config = array() 
)

Method to load and return a view object.

Paramètres
string$nameThe name of the view.
string$prefixOptional view prefix.
string$typeOptional type of view.
array$configOptional configuration array for the view.
Renvoie
The view object
Depuis
3.10.0
Exceptions

Implémenté dans MVCFactory, et LegacyFactory.


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