Class JModelItem

Description

Prototype item model.

  • abstract:
  • since: 11.1

Located in /libraries/joomla/application/component/modelitem.php (line 21)

JObject
   |
   --JModel
      |
      --JModelItem
Direct descendents
Class Description
NewsfeedsModelNewsfeed Newsfeeds Component Newsfeed Model
WeblinksModelWeblink Weblinks Component Model for a Weblink record
ContentModelArticle Content Component Article Model
Variable Summary
string $_context
array $_item
Method Summary
string getStoreId ([string $id = ''])
Variables
string $_context = 'group.type' (line 36)

Model context string.

  • since: 11.1
  • access: protected

Redefined in descendants as:
array $_item = null (line 28)

An item.

  • access: protected

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
getStoreId (line 51)

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.
  • since: 11.1
  • access: protected
string getStoreId ([string $id = ''])
  • string $id: A prefix for the store id.

Inherited Methods

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:57:29 -0500 by phpDocumentor 1.4.4