Documentation

repository extends remoteModel
in package

Repository class

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2011-2020, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

Table of Contents

FOPT_MODULES  = 'modules.yml'
FOPT_UPDATES  = 'updates.yml'
FURLOPEN_ERROR  = 400
Hinweis, dass allow_url_fopen nicht aktiv ist
REMOTECONTENT_ERROR  = 402
Fehler beim Abrüfen der Update-Informationen
REMOTEFILE_ERROR  = 401
Fehler beim Prüfung, ob Update-Server erreichbar ist
$cache  : cache
Cache object
$cacheModule  : string
Cache Modul
$cacheName  : string
Cache name
$canConnect  : bool
Verbindungen zu anderem Server möglich
$checkParams  : array<string|int, mixed>
Datenparameter
$config  : config
Config object
$data  : array<string|int, mixed>
Data array
$events  : events
Event list
$language  : language
Sprachobjekt
$notifications  : notifications
Notifications
$permissions  : permissions
Permissions
$remoteData  : string
vom Server zurückgegebene Daten
$remotePort  : string
Server port
$remoteServer  : string
URL zum Server
$session  : session
Session objekt
$current  : string
Current repo source
$files  : array<string|int, mixed>
Repository check sources
__construct()  : bool
Konstruktor
fetchRemoteData()  : bool
Fetchs data from remote repository source
getCacheName()  : string
Cache-Name zurückgeben
getRemoteData()  : array<string|int, mixed>
Daten zurückgeben, die vom Server abgerufen wurden
remoteAvailable()  : bool
Prüft, ob Update-Server verfügbar ist
saveRemoteData()  : bool
Writes remote repository data to local storage

Constants

FOPT_MODULES

public mixed FOPT_MODULES = 'modules.yml'

FOPT_UPDATES

public mixed FOPT_UPDATES = 'updates.yml'

FURLOPEN_ERROR

Hinweis, dass allow_url_fopen nicht aktiv ist

public mixed FURLOPEN_ERROR = 400

REMOTECONTENT_ERROR

Fehler beim Abrüfen der Update-Informationen

public mixed REMOTECONTENT_ERROR = 402

REMOTEFILE_ERROR

Fehler beim Prüfung, ob Update-Server erreichbar ist

public mixed REMOTEFILE_ERROR = 401

Properties

$cacheModule

Cache Modul

protected string $cacheModule = ''
Tags
since
3.4

$cacheName

Cache name

protected string $cacheName = false

$canConnect

Verbindungen zu anderem Server möglich

protected bool $canConnect = false

$checkParams

Datenparameter

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

$data

Data array

protected array<string|int, mixed> $data

$remoteData

vom Server zurückgegebene Daten

protected string $remoteData = ''

$remotePort

Server port

protected string $remotePort = 80

$remoteServer

URL zum Server

protected string $remoteServer = ''

$current

Current repo source

private string $current = ''

$files

Repository check sources

private array<string|int, mixed> $files = []

Methods

__construct()

Konstruktor

public __construct() : bool
Return values
bool

fetchRemoteData()

Fetchs data from remote repository source

public fetchRemoteData([bool $cliOutput = false ]) : bool
Parameters
$cliOutput : bool = false
Return values
bool

getCacheName()

Cache-Name zurückgeben

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

getRemoteData()

Daten zurückgeben, die vom Server abgerufen wurden

public getRemoteData([string $key = false ]) : array<string|int, mixed>
Parameters
$key : string = false
Return values
array<string|int, mixed>

remoteAvailable()

Prüft, ob Update-Server verfügbar ist

protected remoteAvailable() : bool
Return values
bool

saveRemoteData()

Writes remote repository data to local storage

protected saveRemoteData() : bool
Return values
bool

Search results