Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getElement ($element=null) | |
loadLanguage ($path=null) | |
discover () | |
refreshManifestCache () | |
Fonctions membres publiques hérités de InstallerAdapter | |
__construct (Installer $parent, DatabaseDriver $db, array $options=array()) | |
discover_install () | |
getDiscoverInstallSupported () | |
getElement ($element=null) | |
getManifest () | |
getName () | |
getParent () | |
getRoute () | |
install () | |
prepareDiscoverInstall () | |
setManifest ($manifest) | |
setRoute ($route) | |
uninstall ($id) | |
update () | |
__get ($name) | |
Fonctions membres publiques hérités de ContainerAwareInterface | |
setContainer (Container $container) | |
Fonctions membres publiques hérités de DatabaseAwareInterface | |
setDatabase (DatabaseInterface $db) | |
Fonctions membres protégées | |
checkExtensionInFilesystem () | |
copyBaseFiles () | |
createExtensionRoot () | |
finaliseUninstall () | |
parseOptionalTags () | |
parseQueries () | |
removeExtensionFiles () | |
setupInstallPaths () | |
setupUninstall () | |
setupUpdates () | |
_buildAdminMenus ($componentId=null) | |
_updateSiteMenus ($componentId=null) | |
_updateMenus ($componentId, $clientId=null) | |
_rollback_menu ($step) | |
Fonctions membres protégées hérités de InstallerAdapter | |
canUninstallPackageChild ($packageId) | |
checkExistingExtension () | |
checkExtensionInFilesystem () | |
copyBaseFiles () | |
createExtensionRoot () | |
doDatabaseTransactions () | |
doLoadLanguage ($extension, $source, $base=JPATH_ADMINISTRATOR) | |
finaliseInstall () | |
finaliseUninstall () | |
getScriptClassName () | |
parseQueries () | |
parseOptionalTags () | |
removeExtensionFiles () | |
setupInstallPaths () | |
setupScriptfile () | |
setupUninstall () | |
setupUpdates () | |
storeExtension () | |
triggerManifestScript ($method) | |
Attributs protégés | |
$oldAdminFiles = null | |
$oldApiFiles = null | |
$oldFiles = null | |
$manifest_script = null | |
$install_script = null | |
Attributs protégés hérités de InstallerAdapter | |
$changelogurl = null | |
$currentExtensionId = null | |
$element = null | |
$extension = null | |
$extensionMessage = '' | |
$manifest_script = null | |
$name = null | |
$parent = null | |
$route = 'install' | |
$supportsDiscoverInstall = true | |
$type | |
Membres hérités additionnels | |
Champs de données hérités de InstallerAdapter | |
$manifest = null | |
Component installer
|
protected |
|
protected |
Custom rollback method
array | $step | Installation step to rollback. |
Références $step.
|
protected |
Method to update menu database entries for a component in case if the component has been uninstalled before.
int | null | $componentId | The component ID. |
int | $clientId | The client id |
Références $clientId, $db, $link, $option, $query, Joomla\Database\getDatabase(), et ParameterType\INTEGER.
|
protected |
Method to update menu database entries for a component in case the component has been uninstalled before. NOTE: This will not update admin menus. Use _updateMenus() instead to update admin menus ase well.
int | null | $componentId | The component ID. |
|
protected |
Method to check if the extension is present in the filesystem
Références elseif, parent, et Text\sprintf().
|
protected |
|
protected |
Method to create the extension root path if necessary
Références Text\_(), Folder\create(), parent, et Text\sprintf().
discover | ( | ) |
Discover unregistered extensions.
Références $component, $extension, $results, Folder\folders(), Table\getInstance(), JPATH_ADMINISTRATOR, JPATH_API, JPATH_SITE, et Installer\parseXMLInstallFile().
|
protected |
Method to finalise the uninstallation processing
Références $db, $query, $this, Text\_(), Log\add(), Folder\delete(), extension, Joomla\Database\getDatabase(), Table\getInstance(), ParameterType\INTEGER, parent, et Log\WARNING.
getElement | ( | $element = null | ) |
Get the filtered extension element from the manifest
string | $element | Optional element name to be converted |
loadLanguage | ( | $path = null | ) |
Custom loadLanguage method
string | $path | The path language files are on. |
Références $client, $extension, $folder, $path, $this, elseif, JPATH_ADMINISTRATOR, JPATH_API, JPATH_SITE, null, et parent.
|
protected |
|
protected |
Method to parse the queries specified in the <sql>
tags
Références extension.
refreshManifestCache | ( | ) |
Refreshes the extension table cache
Références $client, Text\_(), Log\add(), ApplicationHelper\getClientInfo(), parent, Installer\parseXMLInstallFile(), et Log\WARNING.
|
protected |
|
protected |
Method to do any prechecks and setup the install paths for the extension
Références Text\_(), Path\clean(), JPATH_ADMINISTRATOR, JPATH_API, JPATH_SITE, et parent.
|
protected |
Method to do any prechecks and setup the uninstall job
Références Text\_(), Path\clean(), Folder\delete(), extension, JPATH_ADMINISTRATOR, JPATH_API, JPATH_SITE, et parent.
|
protected |
Method to setup the update routine for the adapter
Références Joomla\Database\getDatabase(), null, et parent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |