Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
getElement ($element=null) | |
loadLanguage ($path=null) | |
prepareDiscoverInstall () | |
uninstall ($id) | |
discover () | |
refreshManifestCache () | |
Fonctions membres publiques hérités de InstallerAdapter | |
__construct (Installer $parent, \JDatabaseDriver $db, array $options=array()) | |
discover_install () | |
getDiscoverInstallSupported () | |
getElement ($element=null) | |
getManifest () | |
getName () | |
getRoute () | |
install () | |
prepareDiscoverInstall () | |
setManifest ($manifest) | |
setRoute ($route) | |
update () | |
Fonctions membres protégées | |
checkExistingExtension () | |
copyBaseFiles () | |
createExtensionRoot () | |
getScriptClassName () | |
parseOptionalTags () | |
setupInstallPaths () | |
storeExtension () | |
Fonctions membres protégées hérités de InstallerAdapter | |
canUninstallPackageChild ($packageId) | |
checkExistingExtension () | |
checkExtensionInFilesystem () | |
copyBaseFiles () | |
createExtensionRoot () | |
doDatabaseTransactions () | |
doLoadLanguage ($extension, $source, $base=JPATH_ADMINISTRATOR) | |
getScriptClassName () | |
parseQueries () | |
parseOptionalTags () | |
setupInstallPaths () | |
setupScriptfile () | |
setupUpdates () | |
storeExtension () | |
triggerManifestScript ($method) | |
Attributs protégés | |
$scriptElement = null | |
$oldFiles = null | |
Attributs protégés hérités de InstallerAdapter | |
$currentExtensionId = null | |
$element = null | |
$extension = null | |
$extensionMessage = '' | |
$manifest_script = null | |
$name = 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 extension.
|
protected |
|
protected |
Method to create the extension root path if necessary
Références parent, et Installer\setPath().
discover | ( | ) |
Custom discover method
Références $extension, $file, $folder, $results, Table\getInstance(), JPATH_SITE, json_encode, et Installer\parseXMLInstallFile().
getElement | ( | $element = null | ) |
|
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, $file, $folder, $name, $path, 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, ApplicationHelper\getClientInfo(), json_encode, parent, et Installer\parseXMLInstallFile().
|
protected |
Method to do any prechecks and setup the install paths for the extension
Références JPATH_PLUGINS, et parent.
|
protected |
Method to store the extension to the database
Références $name, extension, json_encode, name, parent, et Installer\parseXMLInstallFile().
uninstall | ( | $id | ) |
Custom uninstall method
integer | $id | The id of the plugin to uninstall |
Références $db, $id, $query, $row, Table\getInstance(), JPATH_PLUGINS, null, parent, et JLoader\register().
|
protected |
|
protected |