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 | |
checkExistingExtension () | |
copyBaseFiles () | |
createExtensionRoot () | |
finaliseUninstall () | |
getScriptClassName () | |
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) | |
Attributs protégés | |
$scriptElement = null | |
$oldFiles = 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 | |
Plugin installer
|
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().
|
protected |
Method to create the extension root path if necessary
Références Joomla\Database\getDatabase(), et parent.
discover | ( | ) |
Custom discover method
Références $extension, $folder, $results, Folder\files(), Folder\folders(), Table\getInstance(), JPATH_SITE, Installer\parseXMLInstallFile(), et File\stripExt().
|
protected |
Method to finalise the uninstallation processing
Références $db, $query, Folder\delete(), extension, Joomla\Database\getDatabase(), ParameterType\INTEGER, et parent.
getElement | ( | $element = null | ) |
Get the filtered extension element from the manifest
string | $element | Optional element name to be converted |
Références $type.
|
protected |
Get the class name for the install adapter script.
loadLanguage | ( | $path = null | ) |
Custom loadLanguage method
string | $path | The path where to find language files. |
Références $extension, $folder, $name, $path, $this, JPATH_ADMINISTRATOR, JPATH_PLUGINS, et parent.
|
protected |
prepareDiscoverInstall | ( | ) |
Prepares the adapter for a discover_install task
Références $basePath, $client, extension, 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 Text\_(), JPATH_PLUGINS, parent, et Text\sprintf().
|
protected |
Method to do any prechecks and setup the uninstall job
Références $this, Text\_(), extension, JPATH_PLUGINS, et parent.
|
protected |
Method to store the extension to the database
Références $name, $this, Text\_(), extension, name, parent, Installer\parseXMLInstallFile(), et Text\sprintf().
|
protected |
|
protected |