Abstract Class JModelItem

Description

Prototype item model.

  • abstract:
  • since: 12.2

Located in /libraries/legacy/model/item.php (line 19)

JObject
   |
   --JModelLegacy
      |
      --JModelItem
Direct descendents
Class Description
 class ContenthistoryModelCompare Methods supporting a list of contenthistory records.
 class ContenthistoryModelPreview Methods supporting a list of contenthistory records.
 class ContentModelArticle Content Component Article Model
 class NewsfeedsModelNewsfeed Newsfeeds Component Newsfeed Model
 class WeblinksModelWeblink Weblinks Component Model for a Weblink record
Variable Summary
 string $_context
 array $_item
Method Summary
 string getStoreId ([string $id = ''])
Variables
string $_context = 'group.type' (line 34)

Model context string.

  • since: 12.2
  • access: protected

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

An item.

  • access: protected

Inherited Variables

Inherited from JModelLegacy

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

Inherited from JObject

JObject::$_errors
Methods
getStoreId (line 49)

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

Inherited Methods

Inherited From JModelLegacy

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

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:00 +0100 by phpDocumentor 1.4.3