Class CacheModelCache

Description

Cache Model

  • since: 1.6

Located in /administrator/components/com_cache/models/cache.php (line 19)

JObject
   |
   --JModelLegacy
      |
      --JModelList
         |
         --CacheModelCache
Variable Summary
 Array $_data
 object $_pagination
 integer $_total
Method Summary
 void clean ([String $group = ''])
 void cleanlist ( $array)
 object getCache ()
 array getClient ()
 array getData ()
 integer getPagination ()
 int getTotal ()
 void populateState ([ $ordering = null], [ $direction = null])
 void purge ()
Variables
Array $_data = array() (line 26)

An Array of CacheItems indexed by cache group ID

  • access: protected
object $_pagination = null (line 40)

Pagination object

  • access: protected
integer $_total = null (line 33)

Group total

  • access: protected

Inherited Variables

Inherited from JModelList

JModelList::$cache
JModelList::$context
JModelList::$filterFormName
JModelList::$filter_fields
JModelList::$htmlFormName
JModelList::$query

Inherited from JModelLegacy

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

Inherited from JObject

JObject::$_errors
Methods
clean (line 166)

Clean out a cache group as named by param.

If no param is passed clean all cache groups.

  • access: public
void clean ([String $group = ''])
  • String $group
cleanlist (line 172)
  • access: public
void cleanlist ( $array)
  • $array
getCache (line 104)

Method to get cache instance

  • access: public
object getCache ()
getClient (line 125)

Method to get client data

  • access: public
array getClient ()
getData (line 65)

Method to get cache data

  • access: public
array getData ()
getPagination (line 150)

Method to get a pagination object for the cache

  • access: public
integer getPagination ()

Redefinition of:
JModelList::getPagination()
Method to get a JPagination object for the data set.
getTotal (line 135)

Get the number of current Cache Groups

  • access: public
int getTotal ()

Redefinition of:
JModelList::getTotal()
Method to get the total number of items for the data set.
populateState (line 49)

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:
JModelList::populateState()
Method to auto-populate the model state.
purge (line 180)
  • access: public
void purge ()

Inherited Methods

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