Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
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=[]) | |
createController | ( | $name, | |
$prefix, | |||
array | $config, | ||
CMSApplicationInterface | $app, | ||
Input | $input | ||
) |
Method to load and return a controller object.
string | $name | The name of the controller |
string | $prefix | The controller prefix |
array | $config | The configuration array for the controller |
CMSApplicationInterface | $app | The app |
Input | $input | The input |
Implémenté dans MVCFactory, et LegacyFactory.
createModel | ( | $name, | |
$prefix = '' , |
|||
array | $config = [] |
||
) |
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émenté dans MVCFactory, LegacyFactory, et ApiMVCFactory.
createTable | ( | $name, | |
$prefix = '' , |
|||
array | $config = [] |
||
) |
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émenté dans MVCFactory, LegacyFactory, et ApiMVCFactory.
createView | ( | $name, | |
$prefix = '' , |
|||
$type = '' , |
|||
array | $config = [] |
||
) |
Method to load and return a view object.
string | $name | The name of the view. |
string | $prefix | Optional view prefix. |
string | $type | Optional type of view. |
array | $config | Optional configuration array for the view. |
Implémenté dans MVCFactory, et LegacyFactory.