Jelix 1.7.18

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

$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()

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

Return values
mixed

getDefaultDbProfile()

public getDefaultDbProfile() : mixed
Return values
mixed

getParameter()

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

getParameters()

{@inheritdoc}

public final getParameters() : mixed
Return values
mixed

setParameters()

{@inheritdoc}

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

Search results