Base Database Model

Joomla BaseDatabaseModel: It is Base class for a database Joomla Model. It acts as a Factory class for application specific objects and provides many supporting API functions.

Joomla addIncludePath() Method of Base Model

Joomla addIncludePath() Method of Base Model

The method adds a directory where Joomla should search for models. You may either pass a string or an array of directories.

Continue Reading
Joomla getTable() Method

Joomla getTable() Method

It is a method to get a table object, load it if necessary.

Continue Reading
Joomla getInstance() Method of Base Model

Joomla getInstance() Method of Base Model

It returns a Model object, always creating it.

Continue Reading
Joomla getName() Method of Base Model

Joomla getName() Method of Base Model

It is a method to get the model name. By default, the model name is parsed using the classname or it can be set by passing a $config['name'] in the class constructor.

Continue Reading
Joomla getState() Method of Base Model

Joomla getState() Method of Base Model

It is a method to get model state variables.

Continue Reading
Joomla loadHistory() Method of Base Model

Joomla loadHistory() Method of Base Model

It is a method to load a row for editing from the version history table.

Continue Reading