Joomla Platform JClasses: JModel

Member Function of JModel

__construct

visibility: public

Constructor.

getDbo

visibility: public

Method to get the database connector object.

getName

visibility: public

Method to get the model name.

getState

visibility: public

Method to get model state variables.

getTable

visibility: public

Method to get a table object, load it if necessary.

setDbo

visibility: public

Method to set the database connector object.

setState

visibility: public

Method to set model state variables.

addIncludePath

visibility: public

Add a directory where should search for models.

addTablePath

visibility: public static

Adds to the stack of model table paths in LIFO order.

getInstance

visibility: public static

Returns a Model object, always creating it.

_getList

visibility: protected

Returns an object list.

_getListCount

visibility: protected

Returns a record count for the query.

cleanCache

visibility: protected

Clean the cache.

populateState 

visibility: protected

Method to auto-populate the model state.