repository
        
        extends remoteModel
    
    
            
            in package
            
        
    
    
    
        
            Repository class
Tags
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
$cache
Cache object
    protected
        cache
    $cache
    
    
    
    
$cacheModule
Cache Modul
    protected
        string
    $cacheModule
     = ''
    
    
    
    Tags
$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
     = []
    
    
    
$config
Config object
    protected
        config
    $config
    
    
    
    
$data
Data array
    protected
        array<string|int, mixed>
    $data
    
    
    
    
$events
Event list
    protected
        events
    $events
    
    
    
    
$language
Sprachobjekt
    protected
        language
    $language
    
    
    
    
$notifications
Notifications
    protected
        notifications
    $notifications
    
    
    
    
    Tags
$permissions
Permissions
    protected
        permissions
    $permissions
    
    
    
    
    Tags
$remoteData
vom Server zurückgegebene Daten
    protected
        string
    $remoteData
     = ''
    
    
    
$remotePort
Server port
    protected
        string
    $remotePort
     = 80
    
    
    
$remoteServer
URL zum Server
    protected
        string
    $remoteServer
     = ''
    
    
    
$session
Session objekt
    protected
        session
    $session
    
    
    
    
$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