Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
discover () | |
getElement ($element=null) | |
loadLanguage ($path=null) | |
prepareDiscoverInstall () | |
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 | |
checkExistingExtension () | |
copyBaseFiles () | |
finaliseInstall () | |
parseOptionalTags () | |
removeExtensionFiles () | |
setupInstallPaths () | |
setupUninstall () | |
_rollback_menu ($arg) | |
_rollback_module ($arg) | |
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 | |
$clientId | |
$scriptElement = 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 | |
Module installer
|
protected |
Custom rollback method
array | $arg | Installation step to rollback |
Références $db, $moduleId, $query, Joomla\Database\getDatabase(), et ParameterType\INTEGER.
|
protected |
Custom rollback method
array | $arg | Installation step to rollback |
Références $db, $moduleId, $query, Joomla\Database\getDatabase(), et ParameterType\INTEGER.
|
protected |
Method to check if the extension is already present in the database
Références Text\_(), extension, et Text\sprintf().
|
protected |
Method to copy the extension's base files from the <files>
tag(s) and the manifest file
Références $path, $this, Text\_(), parent, et Text\sprintf().
discover | ( | ) |
Custom discover method
Références $extension, $module, $results, Folder\folders(), ApplicationHelper\getClientInfo(), Table\getInstance(), JPATH_ADMINISTRATOR, JPATH_SITE, et Installer\parseXMLInstallFile().
|
protected |
Method to finalise the installation processing
Références Text\_(), Table\getInstance(), parent, et Text\sprintf().
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 where we find language files |
Références $client, $extension, $folder, $path, JPATH_ADMINISTRATOR, JPATH_SITE, et parent.
|
protected |
prepareDiscoverInstall | ( | ) |
Prepares the adapter for a discover_install task
Références $client, ApplicationHelper\getClientInfo(), et parent.
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 $basePath, $client, Text\_(), ApplicationHelper\getClientInfo(), JPATH_SITE, parent, et Text\sprintf().
|
protected |
Method to do any prechecks and setup the uninstall job
Références $client, extension, ApplicationHelper\getClientInfo(), JPATH_ADMINISTRATOR, JPATH_SITE, parent, et Text\sprintf().
|
protected |
|
protected |