[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_installer/models/ -> manage.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: 335 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

InstallerModelManage:: (8 methods):
  __construct()
  populateState()
  publish()
  refresh()
  remove()
  getListQuery()
  getForm()
  loadFormData()


Class: InstallerModelManage  - X-Ref

Installer Manage Model

__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.


publish(&$eid = array()   X-Ref
Enable/Disable an extension.

return: boolean True on success

refresh($eid)   X-Ref
Refreshes the cached manifest information for an extension.

param: int        extension identifier (key in #__extensions)
return: boolean    result of refresh

remove($eid = array()   X-Ref
Remove (uninstall) an extension

param: array    An array of identifiers
return: boolean    True on success

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

return: JDatabaseQuery    The database query

getForm($data = array()   X-Ref
Method to get the row form.

param: array    $data        Data for the form.
param: boolean    $loadData    True if the form is to load its own data (default case), false if not.
return: mixed    A JForm object on success, false on failure

loadFormData()   X-Ref
Method to get the data that should be injected in the form.

return: mixed    The data for the form.



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