Jelix 1.8.14-pre

InstallerAbstract
in package
Uses InstallConfigTrait

Base class for installers and uninstallers.

Tags
since
1.7

Table of Contents

$defaultDbProfile  : string
$parameters  : array<string|int, mixed>
parameters for the installer, indicated in the configuration file or dynamically, by a launcher in a command line for instance.
$componentName  : string
$name  : string
$path  : string
The path of the module.
__construct()  : mixed
getDefaultDbProfile()  : mixed
getModuleName()  : mixed
getName()  : mixed
getParameter()  : mixed
getParameters()  : mixed
{@inheritdoc}
getPath()  : mixed
setParameters()  : mixed
{@inheritdoc}

Properties

$defaultDbProfile

protected string $defaultDbProfile = ''

the default profile name for the component, if it exist. keep it to '' if not

Tags

$parameters

parameters for the installer, indicated in the configuration file or dynamically, by a launcher in a command line for instance.

protected array<string|int, mixed> $parameters = array()
Tags

Methods

__construct()

public __construct(string $componentName, string $name, string $path, string $version[, bool $installWholeApp = true ]) : mixed
Parameters
$componentName : string

name of the component

$name : string

name of the installer

$path : string

the component path

$version : string

version of the component

$installWholeApp : bool = true

deprecated

Tags
Return values
mixed

getDefaultDbProfile()

public getDefaultDbProfile() : mixed
Tags
Return values
mixed

getModuleName()

public final getModuleName() : mixed
Tags
Return values
mixed

getParameter()

public final getParameter(mixed $name) : mixed
Parameters
$name : mixed
Tags
Return values
mixed

getParameters()

{@inheritdoc}

public final getParameters() : mixed
Tags
Return values
mixed

setParameters()

{@inheritdoc}

public final setParameters(mixed $parameters) : mixed
Parameters
$parameters : mixed
Tags
Return values
mixed

Search results