Class WeblinksModelWeblink

Description

Weblinks Component Model for a Weblink record

  • since: 1.5

Located in /components/com_weblinks/models/weblink.php (line 19)

JObject
   |
   --JModel
      |
      --JModelItem
         |
         --WeblinksModelWeblink
Direct descendents
Class Description
WeblinksModelForm Weblinks model.
Variable Summary
string $_context
Method Summary
mixed &getItem ([integer $id = null])
boolean hit ([int $id = null])
void populateState ()
Variables
string $_context = 'com_weblinks.weblink' (line 27)

Model context string.

  • access: protected

Redefinition of:
JModelItem::$_context
Model context string.

Inherited Variables

Inherited from JModelItem

JModelItem::$_item

Inherited from JModel

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

Inherited from JObject

JObject::$_errors
Methods
getItem (line 56)

Method to get an ojbect.

  • return: Object on success, false on failure.
  • access: public
mixed &getItem ([integer $id = null])
  • integer $id: The id of the object to get.
hit (line 99)

Method to increment the hit counter for the weblink

  • return: True on success
  • since: 1.5
  • access: public
boolean hit ([int $id = null])
  • int $id: Optional ID of the weblink.
populateState (line 36)

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.

Redefined in descendants as:

Inherited Methods

Inherited From JModelItem

JModelItem::getStoreId()

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 14:01:31 -0500 by phpDocumentor 1.4.4