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) | |
prepareDiscoverInstall () | |
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 () | |
finaliseUninstall () | |
parseOptionalTags () | |
removeExtensionFiles () | |
setupInstallPaths () | |
setupUninstall () | |
storeExtension () | |
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) | |
Membres hérités additionnels | |
Champs de données hérités de InstallerAdapter | |
$manifest = 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 | |
Library installer
|
protected |
Method to check if the extension is present in the filesystem, flags the route as update if so
Références Text\_(), extension, Joomla\Database\getDatabase(), Table\getInstance(), null, et parent.
|
protected |
Method to copy the extension's base files from the <files>
tag(s) and the manifest file
Références $this, parent, et Text\sprintf().
discover | ( | ) |
Custom discover method
Références $extension, $folder, $results, Table\getInstance(), JPATH_MANIFESTS, et Installer\parseXMLInstallFile().
|
protected |
Method to finalise the uninstallation processing
Références $db, $query, $this, extension, Joomla\Database\getDatabase(), Table\getInstance(), et ParameterType\INTEGER.
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 to find language files. |
Références $extension, $path, JPATH_SITE, et parent.
|
protected |
prepareDiscoverInstall | ( | ) |
Prepares the adapter for a discover_install task
Références extension, JPATH_MANIFESTS, et parent.
refreshManifestCache | ( | ) |
Refreshes the extension table cache
Références Text\_(), Log\add(), JPATH_MANIFESTS, parent, Installer\parseXMLInstallFile(), et Log\WARNING.
|
protected |
Removes this extension's files
Références File\delete(), Folder\delete(), Folder\exists(), extension, Folder\files(), Folder\folders(), JPATH_MANIFESTS, et parent.
|
protected |
|
protected |
|
protected |
Method to store the extension to the database
Références $name, Text\_(), extension, parent, Installer\parseXMLInstallFile(), et Text\sprintf().