Class ContactModelCategories

Description

This models supports retrieving lists of contact categories.

  • since: 1.6

Located in /components/com_contact/models/categories.php (line 16)

JObject
   |
   --JModel
      |
      --JModelLegacy
         |
         --ContactModelCategories
Variable Summary
string $_context
string $_extension
mixed $_items
mixed $_parent
Method Summary
mixed getItems ()
void getParent ()
string getStoreId ([string $id = ''])
void populateState ()
Variables
string $_context = 'com_contact.categories' (line 23)

Model context string.

  • access: public
string $_extension = 'com_contact' (line 30)

The category context (allows other extensions to derived from this model).

  • access: protected
mixed $_items = null (line 34)
  • access: private
mixed $_parent = null (line 32)
  • access: private

Inherited Variables

Inherited from JModel

JModel::$event_clean_cache
JModel::$name
JModel::$option
JModel::$state
JModel::$_db
JModel::$__state_set

Inherited from JObject

JObject::$_errors
Methods
getItems (line 86)

redefine the function an add some properties to make the styling more easy

  • return: An array of data items on success, false on failure.
  • access: public
mixed getItems ()
getParent (line 113)
  • access: public
void getParent ()
getStoreId (line 70)

Method to get a store id based on model configuration state.

This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements.

  • return: A store id.
  • access: protected
string getStoreId ([string $id = ''])
  • string $id: A prefix for the store id.
populateState (line 43)

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

  • since: 1.6
  • access: protected
void populateState ()

Redefinition of:
JModel::populateState()
Method to auto-populate the model state.

Inherited Methods

Inherited From JModelLegacy

JModelLegacy::addIncludePath()

Inherited From JModel

JModel::__construct()
JModel::addIncludePath()
JModel::addTablePath()
JModel::cleanCache()
JModel::getDbo()
JModel::getInstance()
JModel::getName()
JModel::getState()
JModel::getTable()
JModel::populateState()
JModel::setDbo()
JModel::setState()
JModel::_createFileName()
JModel::_createTable()
JModel::_getList()
JModel::_getListCount()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:52:46 -0500 by phpDocumentor 1.4.4