Class PostinstallModelMessages

Description

Model class to manage postinstall messages

  • since: 3.2

Located in /administrator/components/com_postinstall/models/messages.php (line 19)

JObject
   |
   --FOFModel
      |
      --PostinstallModelMessages
Method Summary
 JDatabaseQuery buildQuery ([boolean $overrideLimits = false])
 string getExtensionName (integer $eid)
 void onProcessList ( &$resultArray, array $resultArray)
 mixed resetMessages (integer $eid)
Variables
Methods
buildQuery (line 30)

Builds the SELECT query

  • since: 3.2
  • access: public
JDatabaseQuery buildQuery ([boolean $overrideLimits = false])
  • boolean $overrideLimits: Are we requested to override the set limits?

Redefinition of:
FOFModel::buildQuery()
Builds the SELECT query
getExtensionName (line 56)

Returns the name of an extension, as registered in the #__extensions table

  • return: The extension name
  • since: 3.2
  • access: public
string getExtensionName (integer $eid)
  • integer $eid: The extension ID
onProcessList (line 126)

List post-processing. This is used to run the programmatic display conditions against each list item and decide if we have to show it or not.

Do note that this a core method of the RAD Layer which operates directly on the list it's being fed. A little touch of modern magic.

  • since: 3.2
  • access: protected
void onProcessList ( &$resultArray, array $resultArray)
  • array $resultArray: A list of items to process
  • &$resultArray

Redefinition of:
FOFModel::onProcessList()
This method can be overriden to automatically do something with the list results array. You are supposed to modify the list which was passed in the parameters; DO NOT return a new array!
resetMessages (line 99)

Resets all messages for an extension

  • return: False if we fail, a db cursor otherwise
  • since: 3.2
  • access: public
mixed resetMessages (integer $eid)
  • integer $eid: The extension ID whose messages we'll reset

Inherited Methods

Inherited From FOFModel

 FOFModel::__construct()
 FOFModel::addBehavior()
 FOFModel::addIncludePath()
 FOFModel::addTablePath()
 FOFModel::applyAccessFiltering()
 FOFModel::buildCountQuery()
 FOFModel::buildQuery()
 FOFModel::checkin()
 FOFModel::checkout()
 FOFModel::cleanCache()
 FOFModel::clearInput()
 FOFModel::clearState()
 FOFModel::copy()
 FOFModel::delete()
 FOFModel::findFormFilename()
 FOFModel::getAnInstance()
 FOFModel::getClone()
 FOFModel::getDbo()
 FOFModel::getFirstItem()
 FOFModel::getForm()
 FOFModel::getHash()
 FOFModel::getId()
 FOFModel::getIds()
 FOFModel::getItem()
 FOFModel::getItemList()
 FOFModel::getList()
 FOFModel::getName()
 FOFModel::getPagination()
 FOFModel::getReorderWhere()
 FOFModel::getSavedTable()
 FOFModel::getState()
 FOFModel::getTable()
 FOFModel::getTableAlias()
 FOFModel::getTableFields()
 FOFModel::getTmpInstance()
 FOFModel::getTotal()
 FOFModel::getUserStateFromRequest()
 FOFModel::hit()
 FOFModel::isCheckedOut()
 FOFModel::loadForm()
 FOFModel::loadFormData()
 FOFModel::move()
 FOFModel::onAfterCopy()
 FOFModel::onAfterDelete()
 FOFModel::onAfterGetItem()
 FOFModel::onAfterHit()
 FOFModel::onAfterLoadForm()
 FOFModel::onAfterMove()
 FOFModel::onAfterPreprocessForm()
 FOFModel::onAfterPublish()
 FOFModel::onAfterReorder()
 FOFModel::onAfterSave()
 FOFModel::onBeforeCopy()
 FOFModel::onBeforeDelete()
 FOFModel::onBeforeHit()
 FOFModel::onBeforeLoadForm()
 FOFModel::onBeforeMove()
 FOFModel::onBeforePreprocessForm()
 FOFModel::onBeforePublish()
 FOFModel::onBeforeReorder()
 FOFModel::onBeforeSave()
 FOFModel::onProcessList()
 FOFModel::populateSavestate()
 FOFModel::populateState()
 FOFModel::preprocessForm()
 FOFModel::publish()
 FOFModel::reorder()
 FOFModel::reset()
 FOFModel::resetSavedState()
 FOFModel::save()
 FOFModel::savestate()
 FOFModel::setDbo()
 FOFModel::setId()
 FOFModel::setIds()
 FOFModel::setIDsFromRequest()
 FOFModel::setInput()
 FOFModel::setState()
 FOFModel::validateForm()
 FOFModel::_createFileName()
 FOFModel::_createTable()
 FOFModel::_getList()
 FOFModel::_getListCount()
 FOFModel::_real_getState()
 FOFModel::__call()
 FOFModel::__get()
 FOFModel::__set()

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