Documentation

repository extends remoteModel

Repository class

Table of Contents

FOPT_UPDATES 'updates.yml'
FOPT_MODULES 'modules.yml'
$files Repository check sources array
$current Current repo source string
$remoteServer URL zum Server string
$remotePort Server port string
$checkParams Datenparameter array
$canConnect Verbindungen zu anderem Server möglich bool
$remoteData vom Server zurückgegebene Daten string
$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
__construct() Konstruktor bool
fetchRemoteData() Fetchs data from remote repository source bool
saveRemoteData() Writes remote repository data to local storage bool
__construct() Konstruktor void
fetchRemoteData() Ftech data from remote source bool
getRemoteData() Daten zurückgeben, die vom Server abgerufen wurden array
remoteAvailable() Prüft, ob Update-Server verfügbar ist bool
saveRemoteData() Writes remote repository data to local storage bool
getCacheName() Cache-Name zurückgeben string

Constants

FOPT_UPDATES

mixed $FOPT_UPDATES = 'updates.yml'

FOPT_MODULES

mixed $FOPT_MODULES = 'modules.yml'

FURLOPEN_ERROR

Hinweis, dass allow_url_fopen nicht aktiv ist

mixed $FURLOPEN_ERROR = 400

REMOTEFILE_ERROR

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

mixed $REMOTEFILE_ERROR = 401

REMOTECONTENT_ERROR

Fehler beim Abrüfen der Update-Informationen

mixed $REMOTECONTENT_ERROR = 402

Properties

$files

Repository check sources

private array $files = []

$current

Current repo source

private string $current = ''

$remoteServer

URL zum Server

protected string $remoteServer = ''

$remotePort

Server port

protected string $remotePort = 80

$checkParams

Datenparameter

protected array $checkParams = []

$canConnect

Verbindungen zu anderem Server möglich

protected bool $canConnect = false

$remoteData

vom Server zurückgegebene Daten

protected string $remoteData = ''

$cacheName

Cache name

protected string $cacheName = false

$cacheModule

Cache Modul

protected string $cacheModule = ''

Methods

__construct()

Konstruktor

public __construct( ) : bool
Return values
bool

fetchRemoteData()

Fetchs data from remote repository source

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

saveRemoteData()

Writes remote repository data to local storage

protected saveRemoteData( ) : bool
Return values
bool

__construct()

Konstruktor

public __construct( ) : void

fetchRemoteData()

Ftech data from remote source

public fetchRemoteData( ) : bool
Return values
bool

getRemoteData()

Daten zurückgeben, die vom Server abgerufen wurden

public getRemoteData( [ $key : string = false ] ) : array
Parameters
$key : string = false
Return values
array

remoteAvailable()

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

protected remoteAvailable( ) : bool
Return values
bool

saveRemoteData()

Writes remote repository data to local storage

protected abstract saveRemoteData( ) : bool
Return values
bool

getCacheName()

Cache-Name zurückgeben

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

Search results