[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Installer/Adapter/ -> ModuleAdapter.php (summary)

Joomla! Content Management System

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

Defines 1 class

ModuleAdapter:: (16 methods):
  checkExistingExtension()
  copyBaseFiles()
  discover()
  finaliseInstall()
  finaliseUninstall()
  getElement()
  loadLanguage()
  parseOptionalTags()
  prepareDiscoverInstall()
  refreshManifestCache()
  removeExtensionFiles()
  setupInstallPaths()
  setupUninstall()
  storeExtension()
  _rollback_menu()
  _rollback_module()


Class: ModuleAdapter  - X-Ref

Module installer

checkExistingExtension()   X-Ref
Method to check if the extension is already present in the database

return: void

copyBaseFiles()   X-Ref
Method to copy the extension's base files from the `<files>` tag(s) and the manifest file

return: void

discover()   X-Ref
Custom discover method

return: array  Extension list of extensions available

finaliseInstall()   X-Ref
Method to finalise the installation processing

return: void

finaliseUninstall()   X-Ref
Method to finalise the uninstallation processing

return: boolean

getElement($element = null)   X-Ref
Get the filtered extension element from the manifest

param: string  $element  Optional element name to be converted
return: string|null  The filtered element

loadLanguage($path = null)   X-Ref
Custom loadLanguage method

param: string  $path  The path where we find language files
return: void

parseOptionalTags()   X-Ref
Method to parse optional tags in the manifest

return: void

prepareDiscoverInstall()   X-Ref
Prepares the adapter for a discover_install task

return: void

refreshManifestCache()   X-Ref
Refreshes the extension table cache

return: boolean  Result of operation, true if updated, false on failure.

removeExtensionFiles()   X-Ref
Removes this extension's files

return: void

setupInstallPaths()   X-Ref
Method to do any prechecks and setup the install paths for the extension

return: void

setupUninstall()   X-Ref
Method to do any prechecks and setup the uninstall job

return: void

storeExtension()   X-Ref
Method to store the extension to the database

return: void

_rollback_menu($arg)   X-Ref
Custom rollback method
- Roll back the menu item

param: array  $arg  Installation step to rollback
return: boolean  True on success

_rollback_module($arg)   X-Ref
Custom rollback method
- Roll back the module item

param: array  $arg  Installation step to rollback
return: boolean  True on success



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