JModelLegacyBase class for a Joomla Model
Acts as a Factory class for application specific objects and provides many supporting API functions.
Located in /libraries/legacy/model/legacy.php (line 22)
JObject | --JModelLegacy
| Class | Description |
|---|---|
AdminModelHelp
|
Admin Component Help Model |
AdminModelSysInfo
|
Model for the display of system information. |
FinderModelIndexer
|
Indexer model class for Finder. |
FinderModelStatistics
|
Statistics model class for Finder. |
InstallerModelInstall
|
Extension Manager Install Model |
JoomlaupdateModelDefault
|
Joomla! update overview Model |
LanguagesModelStrings
|
Languages Strings Model |
LoginModelLogin
|
Login Model |
MediaModelList
|
Media Component List Model |
MediaModelManager
|
Media Component Manager Model |
MenusModelMenutypes
|
Menu Item Types Model for Menus. |
BannersModelBanner
|
Banner model for the Joomla Banners component. |
SearchModelSearch
|
Search Component Search Model |
JModelForm
|
Prototype form model. |
JModelItem
|
Prototype item model. |
JModelList
|
Model class for handling lists of items. |
string
$event_clean_cache
= null (line 70)
The event to trigger when cleaning cache.
string
$name
(line 46)
The model (base) name
string
$state
(line 62)
A state object
object
$_db
(line 38)
Database Connector
boolean
$__state_set
= null (line 30)
Indicates if the internal state has been set
Inherited from JObject
JObject::$_errors
Add a directory where JModelLegacy should search for models. You may either pass a string or an array of directories.
Adds to the stack of model table paths in LIFO order.
Returns a Model object, always creating it
Create the filename for a resource
Constructor
Clean the cache
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
Method to get model state variables
Method to get a table object, load it if necessary.
Method to load a row for editing from the version history table.
Method to auto-populate the model state.
This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.
Method to set the database driver object
Method to set model state variables
Method to load and return a model object.
Gets an array of objects from the results of database query.
Returns a record count for the query.
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()
Documentation generated on Tue, 19 Nov 2013 15:06:49 +0100 by phpDocumentor 1.4.3