pkg
extends cli
in
FanPress CM cli help module
Table of Contents
$updaterSys | System updater object | system |
---|---|---|
$updaterMod | Module updater object | modules |
$modulekey | Moduel key string | string |
$exSystem | Internal execution via system | bool |
$noMaintenanceMode | List of actions without maintenace mode enabled | 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 |
initObjects() | Initialize objects | bool |
process() | Modul ausführen | void |
processUpdate() | Process update check | bool |
processUpgradeSystem() | Process full system update | bool |
processUpgradedbSystem() | Run system database update | bool |
processUpgradedbModule() | Run update finalizer | bool |
processListUpdatefs() | Process local file system for new modules | bool |
processListLocal() | Process local module list output | bool |
processListRemote() | Process remote module list output | bool |
processInfoModule() | Displays information for given module key | bool |
moduleslIstDetails() | Displays information for given module | mixed |
processInstallModule() | Process module installation | bool |
processUpgradeModule() | Process module update | bool |
processModulePackage() | Process module package actions | bool |
getModuleKey() | Returns module key by cli params and run check for existance | bool |
processRemoveModule() | Process complete modul removal | bool |
processDeleteModule() | Process complete modul deletion | bool |
help() | Hilfe-Text zurückgeben ausführen | 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
$updaterSys
System updater object
private
system
$updaterSys
$updaterMod
Module updater object
private
modules
$updaterMod
$modulekey
Moduel key string
private
string
$modulekey
$exSystem
Internal execution via system
private
bool
$exSystem
$noMaintenanceMode
List of actions without maintenace mode enabled
private
array
$noMaintenanceMode
= [self::PARAM_UPDATE, self::PARAM_LIST, self::PARAM_INFO]
$funcParams
Funktionsparameter
protected
array
$funcParams
= []
$data
Data array
protected
array
$data
$cache
Cache object
protected
cache
$cache
$events
Event list
protected
events
$events
$config
Config object
protected
config
$config
$language
Sprachobjekt
protected
language
$language
$session
Session objekt
protected
session
$session
$notifications
Notifications
protected
notifications
$notifications
$permissions
Permissions
protected
permissions
$permissions
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Methods
initObjects()
Initialize objects
private
initObjects(
)
: bool
Return values
boolprocess()
Modul ausführen
public
process(
)
: void
processUpdate()
Process update check
private
processUpdate(
)
: bool
Return values
boolprocessUpgradeSystem()
Process full system update
private
processUpgradeSystem(
)
: bool
Return values
boolprocessUpgradedbSystem()
Run system database update
private
processUpgradedbSystem(
)
: bool
Return values
boolprocessUpgradedbModule()
Run update finalizer
private
processUpgradedbModule(
)
: bool
Return values
boolprocessListUpdatefs()
Process local file system for new modules
private
processListUpdatefs(
)
: bool
Return values
boolprocessListLocal()
Process local module list output
private
processListLocal(
)
: bool
Return values
boolprocessListRemote()
Process remote module list output
private
processListRemote(
)
: bool
Return values
boolprocessInfoModule()
Displays information for given module key
private
processInfoModule(
)
: bool
Return values
boolmoduleslIstDetails()
Displays information for given module
private
moduleslIstDetails(
$module :
module
[, $remote :
bool
= false ]
[, $descr :
bool
= false ]
)
: mixed
Parameters
- $module : module
- $remote : bool = false
- $descr : bool = false
Return values
mixedprocessInstallModule()
Process module installation
private
processInstallModule(
)
: bool
Return values
boolprocessUpgradeModule()
Process module update
private
processUpgradeModule(
)
: bool
Return values
boolprocessModulePackage()
Process module package actions
private
processModulePackage(
$mode :
string
[, $checkFiles :
bool
= false ]
)
: bool
Parameters
- $mode : string
- $checkFiles : bool = false
Return values
boolgetModuleKey()
Returns module key by cli params and run check for existance
private
getModuleKey(
[ $pos :
int
= 2 ]
)
: bool
Parameters
- $pos : int = 2
Return values
boolprocessRemoveModule()
Process complete modul removal
private
processRemoveModule(
)
: bool
Return values
boolprocessDeleteModule()
Process complete modul deletion
private
processDeleteModule(
)
: bool
Return values
boolhelp()
Hilfe-Text zurückgeben ausführen
public
help(
)
: array
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
arrayoutput()
CLI output
protected
output(
$str :
string
[, $exit :
bool
= false ]
)
: mixed
Parameters
- $str : string
- $exit : bool = false
Return values
mixeddebug()
CLI debug output
protected
debug(
$str :
string
[, $exit :
bool
= false ]
)
: mixed
Parameters
- $str : string
- $exit : bool = false
Return values
mixedinput()
CLI input
protected
input(
$str :
string
)
: mixed
Parameters
- $str : string
Return values
mixedboolText()
Returns text by bool value
protected
boolText(
$value :
bool
)
: string
Parameters
- $value : bool
Return values
stringgetCacheName()
Cache-Name zurückgeben
public
getCacheName(
[ $addName :
string
= '' ]
)
: string
Parameters
- $addName : string = ''