[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

FileAdapter:: (13 methods):
  copyBaseFiles()
  finaliseInstall()
  finaliseUninstall()
  getElement()
  loadLanguage()
  parseOptionalTags()
  removeExtensionFiles()
  setupInstallPaths()
  setupUninstall()
  storeExtension()
  extensionExistsInSystem()
  populateFilesAndFolderList()
  refreshManifestCache()


Class: FileAdapter  - X-Ref

File installer

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

return: void

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  The filtered element

loadLanguage($path)   X-Ref
Custom loadLanguage method

param: string  $path  The path on which to find language files.
return: void

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

return: void

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

extensionExistsInSystem($extension = null)   X-Ref
Function used to check if extension is already installed

param: string  $extension  The element name of the extension to install
return: boolean  True if extension exists

populateFilesAndFolderList()   X-Ref
Function used to populate files and folder list

return: boolean  none

refreshManifestCache()   X-Ref
Refreshes the extension table cache

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



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