Documentation

cli extends staticModel

FanPress CM cli object

Table of Contents

PARAM_INSTALL CLI param: --install '--install'
PARAM_UPDATE CLI param: --update '--update'
PARAM_UPGRADE CLI param: --upgrade '--upgrade'
PARAM_UPGRADE_DB CLI param: --upgrade-db '--upgrade-db'
PARAM_REMOVE CLI param: --remove '--remove'
PARAM_EXEC CLI param: --exec '--exec'
PARAM_CLEAN CLI param: --clean '--clean'
PARAM_CLEAR CLI param: --clear '--clear'
PARAM_INFO CLI param: --info '--info'
PARAM_LIST CLI param: --list '--list'
PARAM_SIZE CLI param: --size '--size'
PARAM_ENABLE CLI param: --enable '--enable'
PARAM_DISABLE CLI param: --disable '--disable'
PARAM_PASSWD CLI param: --passwd '--passwd'
PARAM_CHGROLL CLI param: --chgroll '--chgroll'
PARAM_LISTROLLS CLI param: --chgroll '--listrolls'
PARAM_TYPE_SYSTEM CLI param: package manager type: system 'system'
PARAM_TYPE_MODULE CLI param: package manager type: module 'module'
$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
__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
__construct() Konstruktor void
getCacheName() Cache-Name zurückgeben string

Constants

PARAM_INSTALL

CLI param: --install

mixed $PARAM_INSTALL = '--install'

PARAM_UPDATE

CLI param: --update

mixed $PARAM_UPDATE = '--update'

PARAM_UPGRADE

CLI param: --upgrade

mixed $PARAM_UPGRADE = '--upgrade'

PARAM_UPGRADE_DB

CLI param: --upgrade-db

mixed $PARAM_UPGRADE_DB = '--upgrade-db'

PARAM_REMOVE

CLI param: --remove

mixed $PARAM_REMOVE = '--remove'

PARAM_EXEC

CLI param: --exec

mixed $PARAM_EXEC = '--exec'

PARAM_CLEAN

CLI param: --clean

mixed $PARAM_CLEAN = '--clean'

PARAM_CLEAR

CLI param: --clear

mixed $PARAM_CLEAR = '--clear'

PARAM_INFO

CLI param: --info

mixed $PARAM_INFO = '--info'

PARAM_LIST

CLI param: --list

mixed $PARAM_LIST = '--list'

PARAM_SIZE

CLI param: --size

mixed $PARAM_SIZE = '--size'

PARAM_ENABLE

CLI param: --enable

mixed $PARAM_ENABLE = '--enable'

PARAM_DISABLE

CLI param: --disable

mixed $PARAM_DISABLE = '--disable'

PARAM_PASSWD

CLI param: --passwd

mixed $PARAM_PASSWD = '--passwd'

PARAM_CHGROLL

CLI param: --chgroll

mixed $PARAM_CHGROLL = '--chgroll'

PARAM_LISTROLLS

CLI param: --chgroll

mixed $PARAM_LISTROLLS = '--listrolls'

PARAM_TYPE_SYSTEM

CLI param: package manager type: system

mixed $PARAM_TYPE_SYSTEM = 'system'

PARAM_TYPE_MODULE

CLI param: package manager type: module

mixed $PARAM_TYPE_MODULE = 'module'

Properties

$funcParams

Funktionsparameter

protected array $funcParams = []

$cacheName

Cache name

protected string $cacheName = false

$cacheModule

Cache Modul

protected string $cacheModule = ''

Methods

__construct()

Konstruktor

public __construct( $funcParams : array ) : void
Parameters
$funcParams : array

process()

Modul ausführen

public abstract process( ) : void

help()

Hilfe-Text zurückgeben ausführen

public abstract help( ) : array
Return values
array

output()

CLI output

protected output( $str : string [, $exit : bool = false ] ) : mixed
Parameters
$str : string
$exit : bool = false
Return values
mixed

debug()

CLI debug output

protected debug( $str : string [, $exit : bool = false ] ) : mixed
Parameters
$str : string
$exit : bool = false
Return values
mixed

input()

CLI input

protected input( $str : string ) : mixed
Parameters
$str : string
Return values
mixed

boolText()

Returns text by bool value

protected boolText( $value : bool ) : string
Parameters
$value : bool
Return values
string

__construct()

Konstruktor

public __construct( ) : void

getCacheName()

Cache-Name zurückgeben

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

Search results