Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
createModel ($name, $prefix='', array $config=array()) | |
createTable ($name, $prefix='', array $config=array()) | |
Fonctions membres publiques hérités de MVCFactory | |
__construct ($namespace) | |
createController ($name, $prefix, array $config, CMSApplicationInterface $app, Input $input) | |
createModel ($name, $prefix='', array $config=[]) | |
createView ($name, $prefix='', $type='', array $config=[]) | |
createTable ($name, $prefix='', array $config=[]) | |
Fonctions membres publiques hérités de FormFactoryAwareInterface | |
setFormFactory (FormFactoryInterface $factory) | |
Fonctions membres publiques hérités de SiteRouterAwareInterface | |
setSiteRouter (SiteRouter $router) | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de MVCFactory | |
getClassName (string $suffix, string $prefix) | |
Factory to create MVC objects based on a namespace. Note that in an API Application model and table objects will be created from their administrator counterparts.
createModel | ( | $name, | |
$prefix = '' , |
|||
array | $config = array() |
||
) |
Method to load and return a model object.
string | $name | The name of the model. |
string | $prefix | Optional model prefix. |
array | $config | Optional configuration array for the model. |
Implémente MVCFactoryInterface.
createTable | ( | $name, | |
$prefix = '' , |
|||
array | $config = array() |
||
) |
Method to load and return a table object.
string | $name | The name of the table. |
string | $prefix | Optional table prefix. |
array | $config | Optional configuration array for the table. |
Implémente MVCFactoryInterface.