Documentation

installer extends cli Uses syscheck, timezone

FanPress CM cli installer module

Table of Contents

$conf Installer Konfiguration aus YML-Datei array
$funcParams Funktionsparameter array
$data Data array array
$cache Cache object cache
$events Event list events
$config Config object config
$language Sprachobjekt language
$session Session objekt session
$notifications Notifications notifications
$permissions Permissions permissions
$cacheName Cache name string
$cacheModule Cache Modul string
process() Modul ausführen void
checkPreconditions() Prüfung, ob Installer aktiv ist bool
loadConfig() Installer YML Konfiguration auslesen bool
runSystemCheck() System Check ausführen bool
initDatabase() Konfiguration für DB-Verbindung erzeugen bool
createTables() Datenbank-Tabellen erzeugen bool
initSystemConfig() System-Konfiguration erzeugen bool
createUserAccount() Ersten Benutzer erzeugen bool
cleanupSystem() System bereinigung bool
help() Hilfe-Text zurückgeben ausführen array
getCheckOptionsSystem() System-Check ausführen array
getCheckFolders() Check folders array
getTimeZones() Gibt übersetzte Zeitzonen zurück array
getTimeZonesAreas() Returns timezones by global area array
getDateTimeMasks() DateTime-Maske mit Beispielen array
__construct() Konstruktor void
process() Modul ausführen void
help() Hilfe-Text zurückgeben ausführen array
output() CLI output mixed
debug() CLI debug output mixed
input() CLI input mixed
boolText() Returns text by bool value string
getCacheName() Cache-Name zurückgeben string

Properties

$conf

Installer Konfiguration aus YML-Datei

protected array $conf = []

$funcParams

Funktionsparameter

protected array $funcParams = []

$cacheName

Cache name

protected string $cacheName = false

$cacheModule

Cache Modul

protected string $cacheModule = ''

Methods

process()

Modul ausführen

public process( ) : void

checkPreconditions()

Prüfung, ob Installer aktiv ist

private checkPreconditions( ) : bool
Return values
bool

loadConfig()

Installer YML Konfiguration auslesen

private loadConfig( ) : bool
Return values
bool

runSystemCheck()

System Check ausführen

private runSystemCheck( ) : bool
Return values
bool

initDatabase()

Konfiguration für DB-Verbindung erzeugen

private initDatabase( ) : bool
Return values
bool

createTables()

Datenbank-Tabellen erzeugen

private createTables( ) : bool
Return values
bool

initSystemConfig()

System-Konfiguration erzeugen

private initSystemConfig( ) : bool
Return values
bool

createUserAccount()

Ersten Benutzer erzeugen

private createUserAccount( ) : bool
Return values
bool

cleanupSystem()

System bereinigung

private cleanupSystem( ) : bool
Return values
bool

help()

Hilfe-Text zurückgeben ausführen

public help( ) : array
Return values
array

getCheckOptionsSystem()

System-Check ausführen

protected getCheckOptionsSystem( ) : array
Return values
array

getCheckFolders()

Check folders

public getCheckFolders( ) : array
Return values
array

getTimeZones()

Gibt übersetzte Zeitzonen zurück

public getTimeZones( ) : array
Return values
array

getTimeZonesAreas()

Returns timezones by global area

public getTimeZonesAreas( ) : array
Return values
array

getDateTimeMasks()

DateTime-Maske mit Beispielen

public getDateTimeMasks( ) : array
Tags
since
Return values
array

__construct()

Konstruktor

public __construct( ) : void

process()

Modul ausführen

public abstract process( ) : void

help()

Hilfe-Text zurückgeben ausführen

public abstract help( ) : array
Return values
array

output()

CLI output

protected output( $str : string [, $exit : bool = false ] ) : mixed
Parameters
$str : string
$exit : bool = false
Return values
mixed

debug()

CLI debug output

protected debug( $str : string [, $exit : bool = false ] ) : mixed
Parameters
$str : string
$exit : bool = false
Return values
mixed

input()

CLI input

protected input( $str : string ) : mixed
Parameters
$str : string
Return values
mixed

boolText()

Returns text by bool value

protected boolText( $value : bool ) : string
Parameters
$value : bool
Return values
string

getCacheName()

Cache-Name zurückgeben

public getCacheName( [ $addName : string = '' ] ) : string
Parameters
$addName : string = ''
Return values
string

Search results