Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
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 () | |
finaliseUninstall () | |
parseOptionalTags () | |
parseQueries () | |
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 | |
$clientId | |
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 | |
Template 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().
discover | ( | ) |
Discover existing but uninstalled templates
Références $extension, $results, $template, Folder\folders(), ApplicationHelper\getClientInfo(), Table\getInstance(), JPATH_ADMINISTRATOR, JPATH_SITE, et Installer\parseXMLInstallFile().
|
protected |
Method to finalise the uninstallation processing
Références $clientId, $db, $query, $this, extension, Joomla\Database\getDatabase(), Table\getInstance(), et ParameterType\INTEGER.
loadLanguage | ( | $path = null | ) |
Custom loadLanguage method
string | $path | The path where to find language files. |
Références $base, $basePath, $client, $extension, $path, JPATH_ADMINISTRATOR, JPATH_SITE, et parent.
|
protected |
|
protected |
Overloaded method to parse queries for template installations
Références $columns, $db, $lang, $query, $this, Text\_(), extension, Joomla\Database\getDatabase(), Factory\getLanguage(), ParameterType\INTEGER, Text\sprintf(), et ParameterType\STRING.
prepareDiscoverInstall | ( | ) |
Prepares the adapter for a discover_install task
Références $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 |
Removes this extension's files
Références Text\_(), Log\add(), Folder\delete(), Folder\exists(), extension, parent, et Log\WARNING.
|
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, $clientId, $db, $extension, $manifest, $name, $query, Text\_(), Folder\delete(), extension, ApplicationHelper\getClientInfo(), Joomla\Database\getDatabase(), et parent.
|
protected |
Method to store the extension to the database
Références $clientId, $name, Text\_(), extension, parent, Installer\parseXMLInstallFile(), et Text\sprintf().
|
protected |