Documentation

System extends Base
in package

System cli class.

Table of Contents

$helpMode  : bool
$methods  : array<string|int, string>
$moduleName  : string
$cli  : Cli
$climate  : CLImate
__construct()  : mixed
Construct.
checkRegStatus()  : void
Check registration status.
deleteRegistration()  : void
Delete registration data.
history()  : void
History of uploaded updates.
reloadMenus()  : void
Reload menus.
reloadModule()  : void
Reload modules.
reloadUserPrivileges()  : void
Reload users privileges.
showProducts()  : void
Show active products.
update()  : void
Update CRM.
updateByPackage()  : void
Update package.
updateBySelect()  : void
Update by selecting a package.
updateByType()  : void
Update by package type.

Properties

$helpMode

public bool $helpMode = false

Show only help info

$methods

public array<string|int, string> $methods = ['history' => 'History of uploaded updates', 'update' => 'Update', 'checkRegStatus' => 'Check registration status', 'deleteRegistration' => 'Delete registration data', 'showProducts' => 'Show active products', 'reloadModule' => 'Reload modules', 'reloadUserPrivileges' => 'Reload users privileges', 'reloadMenus' => 'Reload menus']

Methods list

$moduleName

public string $moduleName = 'System'

Module Name

$climate

protected CLImate $climate

CLImate instance.

Methods

__construct()

Construct.

public __construct(Cli $cli) : mixed
Parameters
$cli : Cli
Return values
mixed

checkRegStatus()

Check registration status.

public checkRegStatus() : void
Return values
void

deleteRegistration()

Delete registration data.

public deleteRegistration() : void
Return values
void

history()

History of uploaded updates.

public history() : void
Return values
void

reloadMenus()

Reload menus.

public reloadMenus() : void
Return values
void

reloadModule()

Reload modules.

public reloadModule() : void
Return values
void

reloadUserPrivileges()

Reload users privileges.

public reloadUserPrivileges() : void
Return values
void

showProducts()

Show active products.

public showProducts() : void
Return values
void

update()

Update CRM.

public update() : void
Return values
void

updateByPackage()

Update package.

private updateByPackage(array<string|int, mixed> $package) : void
Parameters
$package : array<string|int, mixed>
Return values
void

updateBySelect()

Update by selecting a package.

private updateBySelect() : void
Return values
void

updateByType()

Update by package type.

private updateByType(string $type) : void
Parameters
$type : string

Package type. Values: patches, version

Return values
void

        

Search results