[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2017 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE |
File Size: | 134 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
LegacyFactory:: (4 methods):
createController()
createModel()
createView()
createTable()
Class: LegacyFactory - X-Ref
Factory to create MVC objects in legacy mode.createController($name, $prefix, array $config, CMSApplicationInterface $app, Input $input) X-Ref |
Method to load and return a controller object. param: string $name The name of the controller param: string $prefix The controller prefix param: array $config The configuration array for the controller param: CMSApplicationInterface $app The app param: Input $input The input return: \Joomla\CMS\MVC\Controller\ControllerInterface |
createModel($name, $prefix = '', array $config = []) X-Ref |
Method to load and return a model object. param: string $name The name of the model. param: string $prefix Optional model prefix. param: array $config Optional configuration array for the model. return: ModelInterface The model object |
createView($name, $prefix = '', $type = '', array $config = []) X-Ref |
Method to load and return a view object. param: string $name The name of the view. param: string $prefix Optional view prefix. param: string $type Optional type of view. param: array $config Optional configuration array for the view. return: \Joomla\CMS\MVC\View\ViewInterface The view object |
createTable($name, $prefix = 'Table', array $config = []) X-Ref |
Method to load and return a table object. param: string $name The name of the table. param: string $prefix Optional table prefix. param: array $config Optional configuration array for the table. return: \Joomla\CMS\Table\Table The table object |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |