Class JInstallerAdapter
Abstract adapter for the installer.
- JObject
-
JAdapterInstance
-
JInstallerAdapter
Direct known subclasses
JInstallerAdapterComponent,
JInstallerAdapterFile,
JInstallerAdapterLanguage,
JInstallerAdapterLibrary,
JInstallerAdapterModule,
JInstallerAdapterPackage,
JInstallerAdapterPlugin,
JInstallerAdapterTemplate
Indirect known subclasses
JInstallerComponent,
JInstallerFile,
JInstallerLanguage,
JInstallerLibrary,
JInstallerModule,
JInstallerPackage,
JInstallerPlugin,
JInstallerTemplate
Package: Joomla\Libraries\Installer
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 3.4
Note: As of 4.0, this class will no longer extend from JAdapterInstance
Located at cms/installer/adapter.php
Methods summary
public
|
|
protected
boolean
|
#
canUninstallPackageChild( integer $packageId )
Check if a package extension allows its child extensions to be uninstalled individually |
protected
|
|
protected
|
#
checkExtensionInFilesystem( )
Method to check if the extension is present in the filesystem, flags the route as update if so |
abstract protected
|
#
copyBaseFiles( )
Method to copy the extension's base files from the |
protected
|
|
public
boolean
|
|
protected
boolean
|
|
protected
|
#
doLoadLanguage( string $extension, string $source, string $base = JPATH_ADMINISTRATOR )
Load language files |
public
boolean
|
|
public
string
|
|
public
|
|
public
string
|
|
public
string
|
|
protected
string
|
|
public
boolean|integer
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
abstract protected
|
|
protected
|
|
protected
|
|
abstract protected
|
|
protected
boolean
|
|
public
boolean|integer
|
Methods inherited from JAdapterInstance
Methods inherited from JObject
__toString(),
def(),
get(),
getError(),
getErrors(),
getProperties(),
set(),
setError(),
setProperties()
Magic methods summary
public
|
Properties summary
protected
integer
|
$currentExtensionId |
#
ID for the currently installed extension if present |
protected
string
|
$element |
#
The unique identifier for the extension (e.g. mod_login) |
protected
|
$extension |
#
JTableExtension object. |
protected
string
|
$extensionMessage |
#
Messages rendered by custom scripts |
public
string
|
$manifest |
#
Copy of the XML manifest file. |
protected
string
|
$manifest_script |
#
A path to the PHP file that the scriptfile declaration in the manifest refers to. |
protected
string
|
$name |
#
Name of the extension |
protected
string
|
$route |
#
Install function routing |
protected
boolean
|
$supportsDiscoverInstall |
#
Flag if the adapter supports discover installs |
protected
string
|
$type |
#
The type of adapter in use |
Properties inherited from JAdapterInstance
Properties inherited from JObject
Magic properties
public read-only
|
$parent | |
#
Parent object |
