[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_admin/ -> script.php (summary)

(no description)

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

Defines 1 class

JoomlaInstallerScript:: (21 methods):
  preflight()
  update()
  clearStatsCache()
  updateDatabase()
  updateDatabaseMysql()
  uninstallRepeatableFieldsPlugin()
  uninstallEosPlugin()
  updateManifestCaches()
  deleteUnexistingFiles()
  updateAssets()
  convertTablesToUtf8mb4()
  cleanJoomlaCache()
  dropUtf8ConversionTable()
  postflight()
  contactItems()
  finderItems()
  updateContentTypes()
  fixFilenameCasing()
  moveRemainingTemplateFiles()
  fixTemplateMode()
  addUserAuthProviderColumn()


Class: JoomlaInstallerScript  - X-Ref

Script file of Joomla CMS

preflight($action, $installer)   X-Ref
Function to act prior to installation process begins

param: string     $action     Which action is happening (install|uninstall|discover_install|update)
param: Installer  $installer  The class calling this method
return: boolean  True on success

update($installer)   X-Ref
Method to update Joomla!

param: Installer  $installer  The class calling this method
return: void

clearStatsCache()   X-Ref
Method to clear our stats plugin cache to ensure we get fresh data on Joomla Update

return: void

updateDatabase()   X-Ref
Method to update Database

return: void

updateDatabaseMysql()   X-Ref
Method to update MySQL Database

return: void

uninstallRepeatableFieldsPlugin()   X-Ref
Uninstalls the plg_fields_repeatable plugin and transforms its custom field instances
to instances of the plg_fields_subfields plugin.

return: void

uninstallEosPlugin()   X-Ref
Uninstall the 3.10 EOS plugin

return: void

updateManifestCaches()   X-Ref
Update the manifest caches

return: void

deleteUnexistingFiles($dryRun = false, $suppressOutput = false)   X-Ref
Delete files that should not exist

param: bool  $dryRun          If set to true, will not actually delete files, but just report their status for use in CLI
param: bool  $suppressOutput   Set to true to suppress echoing any errors, and just return the $status array
return: array

updateAssets($installer)   X-Ref
Method to create assets for newly installed components

param: Installer  $installer  The class calling this method
return: boolean

convertTablesToUtf8mb4($doDbFixMsg = false)   X-Ref
Converts the site's database tables to support UTF-8 Multibyte.

param: boolean  $doDbFixMsg  Flag if message to be shown to check db fix
return: void

cleanJoomlaCache()   X-Ref
This method clean the Joomla Cache using the method `clean` from the com_cache model

return: void

dropUtf8ConversionTable()   X-Ref
This method drops the #__utf8_conversion table

return: boolean  True on success

postflight($action, $installer)   X-Ref
Called after any type of action

param: string     $action     Which action is happening (install|uninstall|discover_install|update)
param: Installer  $installer  The class calling this method
return: boolean  True on success

contactItems(Table $tableItem)   X-Ref
Prepare the contact menu items

return: array  Menu items

finderItems(Table $tableItem)   X-Ref
Prepare the finder menu items

return: array  Menu items

updateContentTypes()   X-Ref
Updates content type table classes.

return: void

fixFilenameCasing()   X-Ref
Renames or removes incorrectly cased files.

return: void

moveRemainingTemplateFiles()   X-Ref
Move core template (s)css or js or image files which are left after deleting
obsolete core files to the right place in media folder.

return: void

fixTemplateMode()   X-Ref
Ensure the core templates are correctly moved to the new mode.

return: void

addUserAuthProviderColumn()   X-Ref
No description



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