Class ContentModelArchive

Description

Content Component Archive Model

  • since: 1.5

Located in /components/com_content/models/archive.php (line 21)

JObject
   |
   --JModelLegacy
      |
      --JModelList
         |
         --ContentModelArticles
            |
            --ContentModelArchive
Variable Summary
 string $_context
Method Summary
 array getData ()
 void populateState ([ $ordering = null], [ $direction = null])
 void _getList ( $query, [ $limitstart = 0], [ $limit = 0])
Variables
Methods
getData (line 129)

Method to get the archived article list

  • access: public
array getData ()
getListQuery (line 65)
  • access: protected
JDatabaseQuery getListQuery ()

Redefinition of:
ContentModelArticles::getListQuery()
Get the master query for retrieving a list of articles subject to the model state.
populateState (line 37)

Method to auto-populate the model state.

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

  • since: 1.6
  • access: protected
void populateState ([ $ordering = null], [ $direction = null])
  • $ordering
  • $direction

Redefinition of:
ContentModelArticles::populateState()
Method to auto-populate the model state.
_getList (line 152)
  • access: protected
void _getList ( $query, [ $limitstart = 0], [ $limit = 0])
  • $query
  • $limitstart
  • $limit

Redefinition of:
JModelLegacy::_getList()
Gets an array of objects from the results of database query.

Inherited Methods

Inherited From ContentModelArticles

 ContentModelArticles::__construct()
 ContentModelArticles::getItems()
 ContentModelArticles::getListQuery()
 ContentModelArticles::getStart()
 ContentModelArticles::getStoreId()
 ContentModelArticles::populateState()

Inherited From JModelList

 JModelList::__construct()
 JModelList::getActiveFilters()
 JModelList::getFilterForm()
 JModelList::getItems()
 JModelList::getListQuery()
 JModelList::getPagination()
 JModelList::getStart()
 JModelList::getStoreId()
 JModelList::getTotal()
 JModelList::getUserStateFromRequest()
 JModelList::loadForm()
 JModelList::loadFormData()
 JModelList::populateState()
 JModelList::preprocessForm()
 JModelList::_getListQuery()

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 14:53:49 +0100 by phpDocumentor 1.4.3