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é
|
Fonctions membres publiques | |
createModel ($name, $prefix='', array $config=array()) | |
createView ($name, $prefix='', $type='', array $config=array()) | |
createTable ($name, $prefix='Table', array $config=array()) | |
Factory to create MVC objects in legacy mode. Uses the static getInstance function on the classes itself. Behavior of the old none namespaced extension set up.
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.
Références $config, $name, $prefix, et BaseDatabaseModel\getInstance().
createTable | ( | $name, | |
$prefix = 'Table' , |
|||
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.
Références $config, $name, $prefix, et Table\getInstance().
createView | ( | $name, | |
$prefix = '' , |
|||
$type = '' , |
|||
array | $config = array() |
||
) |
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émente MVCFactoryInterface.
Références $config, $name, $path, $prefix, $type, BaseController\createFileName(), jimport(), null, et JLoader\register().