|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Component Installer for Composer. More...
Inheritance diagram for ComponentInstaller\Installer:
Collaboration diagram for ComponentInstaller\Installer:Public Member Functions | |
| supports ($packageType) | |
| getComponentPath (PackageInterface $package) | |
| Gets the destination Component directory. More... | |
| getComponentDir () | |
| Retrieves the Installer's provided component directory. More... | |
| removeCode (PackageInterface $package) | |
| Remove both the installed code and files from the Component directory. More... | |
| removeComponent (PackageInterface $package) | |
| Remove a Component's files from the Component directory. More... | |
| installCode (PackageInterface $package) | |
| Before installing the Component, be sure its destination is clear first. More... | |
Protected Member Functions | |
| initializeVendorDir () | |
| Initialize the Component directory, as well as the vendor directory. More... | |
Protected Attributes | |
| $componentDir | |
| The location where Components are to be installed. More... | |
Component Installer for Composer.
Definition at line 22 of file Installer.php.
| ComponentInstaller\Installer::getComponentDir | ( | ) |
Retrieves the Installer's provided component directory.
Definition at line 113 of file Installer.php.
References $config.
| ComponentInstaller\Installer::getComponentPath | ( | PackageInterface | $package | ) |
Gets the destination Component directory.
| PackageInterface | $package |
Definition at line 69 of file Installer.php.
|
protected |
Initialize the Component directory, as well as the vendor directory.
Definition at line 103 of file Installer.php.
| ComponentInstaller\Installer::installCode | ( | PackageInterface | $package | ) |
Before installing the Component, be sure its destination is clear first.
| PackageInterface | $package |
Definition at line 147 of file Installer.php.
| ComponentInstaller\Installer::removeCode | ( | PackageInterface | $package | ) |
Remove both the installed code and files from the Component directory.
| PackageInterface | $package |
Definition at line 124 of file Installer.php.
| ComponentInstaller\Installer::removeComponent | ( | PackageInterface | $package | ) |
Remove a Component's files from the Component directory.
| PackageInterface | $package |
Definition at line 136 of file Installer.php.
References $path.
| ComponentInstaller\Installer::supports | ( | $packageType | ) |
Components are supported by all packages. This checks wheteher or not the entire package is a "component", as well as injects the script to act on components embedded in packages that are not just "component" types.
Definition at line 37 of file Installer.php.
|
protected |
The location where Components are to be installed.
Definition at line 28 of file Installer.php.