FacturaScripts

Installer extends Installer
in package
Uses ExtensionsTrait

Class created by Core/Base/PluginDeploy

Tags
author

FacturaScripts [email protected]

Table of Contents

$created_mysql_db  : bool
$extensions  : array<string|int, mixed>
Stores class extensions.
$request  : Request
__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
extractFromMarkers()  : array<string|int, mixed>
getUri()  : string
getUserLanguage()  : string
insertWithMarkers()  : bool
saveHtaccess()  : bool
saveInstall()  : bool
searchErrors()  : bool
testMysql()  : bool
testPostgresql()  : bool

Properties

$created_mysql_db

protected bool $created_mysql_db = false

$extensions

Stores class extensions.

protected static array<string|int, mixed> $extensions = []

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
throws
BadMethodCallException
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

extractFromMarkers()

private extractFromMarkers(string $fileName, string $marker) : array<string|int, mixed>
Parameters
$fileName : string
$marker : string
Return values
array<string|int, mixed>

getUri()

private getUri() : string
Return values
string

getUserLanguage()

private getUserLanguage() : string
Return values
string

insertWithMarkers()

private insertWithMarkers(array<string|int, mixed> $insertion, string $fileName, string $marker) : bool
Parameters
$insertion : array<string|int, mixed>
$fileName : string
$marker : string
Return values
bool

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

Search results