[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/MVC/Factory/ -> MVCFactoryInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 85 lines (3 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

MVCFactoryInterface:: (4 methods):
  createController()
  createModel()
  createView()
  createTable()


Interface: MVCFactoryInterface  - X-Ref

Factory to create MVC objects.

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 = '', 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