[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 2 functions

  createModel()
  createTable()

Functions
Functions that are not part of a class:

createModel($name, $prefix = '', array $config = array()   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: \Joomla\CMS\MVC\Model\ModelInterface  The model object

createTable($name, $prefix = '', array $config = array()   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