ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Builds all JavaScript Components into one require-built.js. More...
Public Member Functions | |||||||
process () | |||||||
{Called when running through the process.
| |||||||
compile ($packages) | |||||||
Copy file assets from the given packages to the component directory. More... | |||||||
Public Member Functions inherited from ComponentInstaller\Process\Process | |||||||
__construct (Composer $composer=null, IOInterface $io=null) | |||||||
{Create a new Process.
| |||||||
process () | |||||||
{Called when running through the process.
| |||||||
getComponentName ($prettyName, array $extra=array()) | |||||||
Retrieves the component name for the component. More... | |||||||
getComponentDir () | |||||||
Retrieves the component directory. More... | |||||||
setComponentDir ($dir) | |||||||
Sets the component directory. More... | |||||||
getVendorDir (array $package) | |||||||
Retrieves the given package's vendor directory, where it's installed. More... | |||||||
Public Member Functions inherited from ComponentInstaller\Process\ProcessInterface | |||||||
init () | |||||||
Initialize the process before its run. More... | |||||||
Protected Member Functions | |
definePrefix ($componentName) | |
Provide the initial definition prefix. More... | |
definePostfix () | |
Finish the module definition. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ComponentInstaller\Process\Process | |
$composer | |
$io | |
$config | |
$packages = array() | |
$componentDir = 'components' | |
$fs | |
$installationManager | |
Builds all JavaScript Components into one require-built.js.
Definition at line 17 of file BuildJsProcess.php.
ComponentInstaller\Process\BuildJsProcess::compile | ( | $packages | ) |
Copy file assets from the given packages to the component directory.
array | $packages | An array of packages. |
Definition at line 34 of file BuildJsProcess.php.
References $output, ComponentInstaller\Process\Process\$packages, array, ComponentInstaller\Process\BuildJsProcess\definePostfix(), ComponentInstaller\Process\BuildJsProcess\definePrefix(), and ComponentInstaller\Process\Process\getComponentName().
Referenced by ComponentInstaller\Process\BuildJsProcess\process().
|
protected |
Finish the module definition.
Definition at line 83 of file BuildJsProcess.php.
Referenced by ComponentInstaller\Process\BuildJsProcess\compile().
|
protected |
Provide the initial definition prefix.
string | $componentName |
Definition at line 72 of file BuildJsProcess.php.
Referenced by ComponentInstaller\Process\BuildJsProcess\compile().
ComponentInstaller\Process\BuildJsProcess::process | ( | ) |
{Called when running through the process.
Implements ComponentInstaller\Process\ProcessInterface.
Definition at line 22 of file BuildJsProcess.php.
References ComponentInstaller\Process\BuildJsProcess\compile().