[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_installer/src/Model/ -> ManageModel.php (summary)

(no description)

Copyright: (C) 2008 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 460 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ManageModel:: (7 methods):
  __construct()
  populateState()
  publish()
  refresh()
  remove()
  getListQuery()
  loadChangelog()


Class: ManageModel  - X-Ref

Installer Manage Model

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

param: array                $config   An optional associative array of configuration settings.
param: MVCFactoryInterface  $factory  The factory.

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

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

param: string  $ordering   An optional ordering field.
param: string  $direction  An optional direction (asc|desc).
return: void

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

param: array  $eid    Extension ids to un/publish
param: int    $value  Publish value
return: boolean  True on success

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

param: int|int[]  $eid  extension identifier (key in #__extensions)
return: boolean  result of refresh

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

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

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

return: DatabaseQuery  The database query

loadChangelog($eid, $source)   X-Ref
Load the changelog details for a given extension.

param: integer  $eid     The extension ID
param: string   $source  The view the changelog is for, this is used to determine which version number to show
return: string  The output to show in the modal.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer