Class JInstallerAdapterComponent
Component installer
- JObject
-
JAdapterInstance
-
JInstallerAdapter
-
JInstallerAdapterComponent
Direct known subclasses
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.1
Located at cms/installer/adapter/component.php
Methods summary
protected
boolean
|
|
protected
|
#
copyBaseFiles( )
Method to copy the extension's base files from the |
protected
|
|
protected
|
|
public
string
|
|
public
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
boolean
|
|
protected
boolean
|
#
_buildAdminMenus( integer|null $component_id = null )
Method to build menu database entries for a component |
protected
boolean
|
|
protected
boolean
|
#
_updateSiteMenus( integer|null $component_id = null )
Method to update menu database entries for a component in case the component has been uninstalled before. NOTE: This will not update admin menus. Use _updateMenus() instead to update admin menus ase well. |
protected
boolean
|
#
_updateMenus( integer|null $component_id, integer $clientId = null )
Method to update menu database entries for a component in case if the component has been uninstalled before. |
protected
boolean
|
|
public
array
|
|
public
boolean
|
|
protected
boolean|integer
|
#
_createAdminMenuItem( array & $data, integer $parentId )
Creates the menu item in the database. If the item already exists it tries to remove it and create it afresh. |
Methods inherited from JInstallerAdapter
__construct(),
canUninstallPackageChild(),
checkExistingExtension(),
discover_install(),
doDatabaseTransactions(),
doLoadLanguage(),
getDiscoverInstallSupported(),
getManifest(),
getName(),
getRoute(),
getScriptClassName(),
install(),
parseQueries(),
setManifest(),
setRoute(),
setupScriptfile(),
triggerManifestScript(),
update()
Methods inherited from JAdapterInstance
Methods inherited from JObject
__toString(),
def(),
get(),
getError(),
getErrors(),
getProperties(),
set(),
setError(),
setProperties()
Magic methods summary
Magic methods inherited from JInstallerAdapter
Properties summary
protected
array
|
$oldAdminFiles |
#
The list of current files fo the Joomla! CMS administrator that are installed and is read from the manifest on disk in the update area to handle doing a diff and deleting files that are in the old files list and not in the new files list. |
protected
array
|
$oldFiles |
#
The list of current files that are installed and is read from the manifest on disk in the update area to handle doing a diff and deleting files that are in the old files list and not in the new files list. |
protected
string
|
$manifest_script |
#
A path to the PHP file that the scriptfile declaration in the manifest refers to. |
protected
string
|
$install_script |
#
For legacy installations this is a path to the PHP file that the scriptfile declaration in the manifest refers to. |
Properties inherited from JInstallerAdapter
$currentExtensionId,
$element,
$extension,
$extensionMessage,
$manifest,
$name,
$route,
$supportsDiscoverInstall,
$type
