[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/MVC/Model/ -> BaseModel.php (summary)

Joomla! Content Management System

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

Defines 3 functions

  __construct()
  addIncludePath()
  getName()

Functions
Functions that are not part of a class:

__construct($config = array()   X-Ref
Constructor

param: array  $config  An array of configuration options (name, state, ignore_request).

addIncludePath($path = '', $prefix = '')   X-Ref
Add a directory where \JModelLegacy should search for models. You may
either pass a string or an array of directories.

param: mixed   $path    A path or array[sting] of paths to search.
param: string  $prefix  A prefix for models.
return: array  An array with directory elements. If prefix is equal to '', all directories are returned.

getName()   X-Ref
Method to get the model name

The model name. By default parsed using the classname or it can be set
by passing a $config['name'] in the class constructor

return: string  The name of the model



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer