Property | Type | Description | |
---|---|---|---|
$maximumJoomlaVersion | string | The maximum Joomla! version this extension can be installed on | |
$minimumJoomlaVersion | string | The minimum Joomla! version required to install this extension | |
$minimumPHPVersion | string | The minimum PHP version required to install this extension |
Method | Description | |
---|---|---|
postflight ( string $type, JInstallerAdapterLibrary $parent ) | Runs after install, update or discover_update. In other words, it executes after Joomla! has finished installing or updating your component. This is the last chance you've got to perform any additional installations, clean-up, database updates and similar housekeeping functions. | |
preflight ( string $type, JInstaller $parent ) : boolean | Joomla! pre-flight event. This runs before Joomla! installs or updates the component. This is our last chance to tell Joomla! if it should abort the installation. | |
uninstall ( JInstallerAdapterLibrary $parent ) | Runs on uninstallation |
Method | Description | |
---|---|---|
addDependency ( string $package, string $dependency ) | Adds a package dependency to #__akeeba_common | |
amIAnUpdate ( JInstallerAdapterLibrary $parent ) : array | Is this package an update to the currently installed FOF? If not (we're a downgrade) we will return false and prevent the installation from going on. | |
getDependencies ( string $package ) : array | Get the dependencies for a package from the #__akeeba_common table | |
hasDependency ( string $package, string $dependency ) : boolean | Do I have a dependency for a package in #__akeeba_common | |
loadFOF30 ( ) | Loads FOF 3.0 if it's not already loaded | |
removeDependency ( string $package, string $dependency ) | Removes a package dependency from #__akeeba_common | |
setDependencies ( string $package, array $dependencies ) | Sets the dependencies for a package into the #__akeeba_common table |
protected addDependency ( string $package, string $dependency ) | ||
$package | string | The package |
$dependency | string | The dependency to add |
protected amIAnUpdate ( JInstallerAdapterLibrary $parent ) : array | ||
$parent | JInstallerAdapterLibrary | The parent object |
return | array | The installation status |
protected getDependencies ( string $package ) : array | ||
$package | string | The package |
return | array | The dependencies |
public postflight ( string $type, JInstallerAdapterLibrary $parent ) | ||
$type | string | install, update or discover_update |
$parent | JInstallerAdapterLibrary | Parent object |
protected removeDependency ( string $package, string $dependency ) | ||
$package | string | The package |
$dependency | string | The dependency to remove |
protected setDependencies ( string $package, array $dependencies ) | ||
$package | string | The package |
$dependencies | array | The dependencies list |
public uninstall ( JInstallerAdapterLibrary $parent ) | ||
$parent | JInstallerAdapterLibrary | The parent object |
protected string $maximumJoomlaVersion | ||
return | string |
protected string $minimumJoomlaVersion | ||
return | string |
protected string $minimumPHPVersion | ||
return | string |