Installer
extends Installer
in package
Uses
ExtensionsTrait
Class created by Core/Base/PluginDeploy
Tags
Table of Contents
- $db_host : string
- $db_name : string
- $db_port : int
- $db_type : string
- $db_user : string
- $extensions : array<string|int, mixed>
- Stores class extensions.
- $request : Request
- $use_new_mysql : bool
- __call() : mixed
- Executes the first matched extension.
- __construct() : mixed
- addExtension() : mixed
- getPageData() : array<string|int, mixed>
- pipe() : mixed
- pipeFalse() : bool
- run() : void
- createDataBase() : bool
- createFolders() : bool
- getUri() : string
- getUserLanguage() : string
- saveHtaccess() : bool
- saveInstall() : bool
- searchErrors() : bool
- testMysql() : bool
- testPostgresql() : bool
- versionPostgres() : float
Properties
$db_host
public
string
$db_host
$db_name
public
string
$db_name
$db_port
public
int
$db_port
$db_type
public
string
$db_type
$db_user
public
string
$db_user
$extensions
Stores class extensions.
protected
static array<string|int, mixed>
$extensions
= []
$request
protected
Request
$request
$use_new_mysql
protected
bool
$use_new_mysql
= false
Methods
__call()
Executes the first matched extension.
public
__call(string $name[, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed> = []
Tags
Return values
mixed —__construct()
public
__construct(string $className[, string $url = '' ]) : mixed
Parameters
- $className : string
- $url : string = ''
Return values
mixed —addExtension()
public
static addExtension(mixed $extension) : mixed
Parameters
- $extension : mixed
Return values
mixed —getPageData()
public
getPageData() : array<string|int, mixed>
Return values
array<string|int, mixed> —pipe()
public
pipe(string $name, array<string|int, mixed> ...$arguments) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
mixed —pipeFalse()
public
pipeFalse(string $name, array<string|int, mixed> ...$arguments) : bool
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
bool —run()
public
run() : void
Return values
void —createDataBase()
private
createDataBase() : bool
Return values
bool —createFolders()
private
createFolders() : bool
Return values
bool —getUri()
private
getUri() : string
Return values
string —getUserLanguage()
private
getUserLanguage() : string
Return values
string —saveHtaccess()
private
saveHtaccess() : bool
Return values
bool —saveInstall()
private
saveInstall() : bool
Return values
bool —searchErrors()
private
searchErrors() : bool
Return values
bool —testMysql()
private
testMysql(array<string|int, mixed> $dbData) : bool
Parameters
- $dbData : array<string|int, mixed>
Return values
bool —testPostgresql()
private
testPostgresql(array<string|int, mixed> $dbData) : bool
Parameters
- $dbData : array<string|int, mixed>
Return values
bool —versionPostgres()
private
versionPostgres(mixed $connection) : float
Parameters
- $connection : mixed