Documentation

baseconfig
in package

Base config class

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2011-2020, Stefan Seehafer

Table of Contents

$dateTimeMasks  : array<string|int, mixed>
Datetime-Masken
$folderExcludes  : array<string|int, mixed>
auszuschließende Ordner
$logFiles  : array<string|int, mixed>
Logdatein
$moduleServer  : string
Module-Server-URL
$moduleServerManualLink  : string
Link für manuellen Module-Manager
$updateServer  : string
Update-Server-URL
$updateServerManualLink  : string
Link für manuelle Update-Prüfung
$installerEnabledFile  : string
Installer aktiv Status-Datei
asyncCronjobsEnabled()  : bool
Prüft ob Ausführung von asynchronen Cronjobs aktiv ist
canConnect()  : bool
allow_url_fopen = 1
canCrypt()  : bool
allow_url_fopen = 1
canHttps()  : bool
HTTPS aktiv
dbConfigExists()  : bool
Prüft ob Datenbank-Config-Datei existiert
enableAsyncCronjobs()  : bool
Aktiviert bzw. deaktiviert asynchrone Cronjob-Ausführung
enableInstaller()  : bool
Aktiviert bzw. deaktiviert Installer
getControllers()  : array<string|int, mixed>
Controller abrufen
getCryptConfig()  : array<string|int, mixed>
Lädt crypt.php
getDatabaseConfig()  : array<string|int, mixed>
Lädt config.php
getSecurityConfig()  : array<string|int, mixed>
Lädt sec.php
getVersionFromFile()  : string
Lädt version.txt
hasOpcache()  : bool
HTTPS aktiv
init()  : mixed
Initiiert Grundsystem
installerEnabled()  : bool
Prüft ob Installer aktiv ist
isCli()  : bool
Aufruf über CLI
memoryLimit()  : int
PHP Memory Limit
noToken()  : bool
Aufruf über CLI
uploadFilesizeLimit()  : int
PHP Upload filesize limit
initModuleControllers()  : aarray
Registriert Controller-Configs aus controllers.yml
initServers()  : mixed
Initialisiert Server-Infos

Properties

$dateTimeMasks

Datetime-Masken

public static array<string|int, mixed> $dateTimeMasks = ['d.m.Y, H:i', 'd. M Y, H:i', 'd.n.Y H:i', 'j. M Y H:i', 'j.n.Y H:i', 'M dS Y - h:ia', 'm/d/Y - h:ia', 'M jS Y - h:ia', 'n/d/Y - h:ia']

$folderExcludes

auszuschließende Ordner

public static array<string|int, mixed> $folderExcludes = array('.', '..')

$logFiles

Logdatein

public static array<string|int, mixed> $logFiles = []

$moduleServer

Module-Server-URL

public static string $moduleServer

Link für manuellen Module-Manager

public static string $moduleServerManualLink

$updateServer

Update-Server-URL

public static string $updateServer

Link für manuelle Update-Prüfung

public static string $updateServerManualLink

$installerEnabledFile

Installer aktiv Status-Datei

private static string $installerEnabledFile

Methods

asyncCronjobsEnabled()

Prüft ob Ausführung von asynchronen Cronjobs aktiv ist

public static asyncCronjobsEnabled() : bool
Return values
bool

canConnect()

allow_url_fopen = 1

public static canConnect() : bool
Return values
bool

canCrypt()

allow_url_fopen = 1

public static canCrypt() : bool
Return values
bool

canHttps()

HTTPS aktiv

public static canHttps() : bool
Tags
since
3.5
Return values
bool

dbConfigExists()

Prüft ob Datenbank-Config-Datei existiert

public static dbConfigExists() : bool
Return values
bool

enableAsyncCronjobs()

Aktiviert bzw. deaktiviert asynchrone Cronjob-Ausführung

public static enableAsyncCronjobs(bool $status) : bool
Parameters
$status : bool

neuer Status

Return values
bool

enableInstaller()

Aktiviert bzw. deaktiviert Installer

public static enableInstaller(bool $status) : bool
Parameters
$status : bool

neuer Status

Return values
bool

getControllers()

Controller abrufen

public static getControllers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCryptConfig()

Lädt crypt.php

public static getCryptConfig() : array<string|int, mixed>
Tags
since
3.5
Return values
array<string|int, mixed>

getDatabaseConfig()

Lädt config.php

public static getDatabaseConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSecurityConfig()

Lädt sec.php

public static getSecurityConfig() : array<string|int, mixed>
Tags
since
3.6
Return values
array<string|int, mixed>

getVersionFromFile()

Lädt version.txt

public static getVersionFromFile() : string
Tags
since
4
Return values
string

hasOpcache()

HTTPS aktiv

public static hasOpcache() : bool
Tags
since
3.5
Return values
bool

init()

Initiiert Grundsystem

public static init() : mixed
Return values
mixed

installerEnabled()

Prüft ob Installer aktiv ist

public static installerEnabled() : bool
Return values
bool

isCli()

Aufruf über CLI

public static isCli() : bool
Tags
since
4.0
Return values
bool

memoryLimit()

PHP Memory Limit

public static memoryLimit([bool $inByte = false ]) : int
Parameters
$inByte : bool = false

Ausgabe in Byte oder Mbyte

Return values
int

noToken()

Aufruf über CLI

public static noToken() : bool
Tags
since
4.0
Return values
bool

uploadFilesizeLimit()

PHP Upload filesize limit

public static uploadFilesizeLimit([bool $inByte = false ]) : int
Parameters
$inByte : bool = false

Ausgabe in Byte oder Mbyte

Return values
int

initModuleControllers()

Registriert Controller-Configs aus controllers.yml

private static initModuleControllers() : aarray
Return values
aarray

initServers()

Initialisiert Server-Infos

private static initServers() : mixed
Return values
mixed

Search results