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 | |
checkExtensionInFilesystem () | |
copyBaseFiles () | |
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) | |
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 | |
$currentExtensionId = null | |
$element = null | |
$extension = null | |
$extensionMessage = '' | |
$manifest_script = null | |
$name = 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 extension, Table\getInstance(), null, parent, et Installer\setPackageUninstall().
|
protected |
Method to copy the extension's base files from the <files>
tag(s) and the manifest file
Références parent.
discover | ( | ) |
Custom discover method
Références $extension, $file, $folder, $results, DIRECTORY_SEPARATOR, Table\getInstance(), JPATH_MANIFESTS, json_encode, et Installer\parseXMLInstallFile().
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 JPATH_MANIFESTS, json_encode, parent, et Installer\parseXMLInstallFile().
|
protected |
Method to do any prechecks and setup the install paths for the extension
Références DIRECTORY_SEPARATOR, et parent.
|
protected |
Method to store the extension to the database
Références $name, extension, json_encode, parent, et Installer\parseXMLInstallFile().
uninstall | ( | $id | ) |
Custom uninstall method
string | $id | The id of the library to uninstall. |
Références $files, $id, $manifest, $row, Table\getInstance(), JPATH_MANIFESTS, et parent.