Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getElement ($element=null) | |
loadLanguage ($path) | |
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 | |
copyBaseFiles () | |
finaliseInstall () | |
finaliseUninstall () | |
parseOptionalTags () | |
removeExtensionFiles () | |
setupInstallPaths () | |
setupUninstall () | |
storeExtension () | |
extensionExistsInSystem ($extension=null) | |
populateFilesAndFolderList () | |
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 | |
$scriptElement = null | |
$supportsDiscoverInstall = false | |
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 | |
File installer
|
protected |
Method to copy the extension's base files from the <files>
tag(s) and the manifest file
Références $folder, Folder\create(), Folder\exists(), parent, et Text\sprintf().
|
protected |
Function used to check if extension is already installed
string | $extension | The element name of the extension to install |
Références $db, $extension, $id, $query, et Joomla\Database\getDatabase().
|
protected |
Method to finalise the installation processing
Références $manifest, $path, Text\_(), Folder\create(), Table\getInstance(), JPATH_MANIFESTS, parent, et Text\sprintf().
|
protected |
Method to finalise the uninstallation processing
Références $db, $query, $this, File\delete(), extension, Joomla\Database\getDatabase(), Table\getInstance(), ParameterType\INTEGER, et JPATH_MANIFESTS.
getElement | ( | $element = null | ) |
Get the filtered extension element from the manifest
string | $element | Optional element name to be converted |
Références Path\clean(), et parent.
loadLanguage | ( | $path | ) |
Custom loadLanguage method
string | $path | The path on which to find language files. |
Références $extension, $path, et JPATH_SITE.
|
protected |
|
protected |
Function used to populate files and folder list
Références $dir, $folder, $path, $target, Log\add(), Path\clean(), Folder\exists(), Folder\files(), JPATH_ROOT, parent, Text\sprintf(), et Log\WARNING.
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 $folder, $target, File\delete(), Folder\delete(), Folder\exists(), Folder\files(), JPATH_ROOT, et parent.
|
protected |
Method to do any prechecks and setup the install paths for the extension
Références JPATH_MANIFESTS, JPATH_ROOT, name, et parent.
|
protected |
Method to do any prechecks and setup the uninstall job
Références $xml, Text\_(), extension, JPATH_MANIFESTS, et parent.
|
protected |
Method to store the extension to the database
Références $name, Text\_(), extension, parent, et Text\sprintf().
|
protected |
|
protected |