[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_installer/models/ -> update.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 250 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

InstallerModelUpdate:: (8 methods):
  __construct()
  populateState()
  getListQuery()
  findUpdates()
  purge()
  enableSites()
  update()
  install()


Class: InstallerModelUpdate  - X-Ref


__construct($config = array()   X-Ref
Constructor.

param: array    An optional associative array of configuration settings.

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.

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


getListQuery()   X-Ref
Method to get the database query

return: JDatabaseQuery    The database query

findUpdates($eid=0, $cache_timeout = 0)   X-Ref
Finds updates for an extension.

param: int        Extension identifier to look for
return: boolean Result

purge()   X-Ref
Removes all of the updates from the table.

return: boolean result of operation

enableSites()   X-Ref
Enables any disabled rows in #__update_sites table

return: boolean result of operation

update($uids)   X-Ref
Update function.

Sets the "result" state with the result of the operation.

param: Array[int] List of updates to apply

install($update)   X-Ref
Handles the actual update installation.

param: JUpdate    An update definition
return: boolean    Result of install



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1