\App\GatewayModule\PresentersUpdaterPresenter

IQRF Gateway updater presenter

Summary

Methods
Properties
Constants
afterRender()
checkRequirements()
injectTranslator()
getTranslator()
createTemplate()
__construct()
handleList()
handleUpdate()
handleUpgrade()
showCommandOutput()
$versionManager
$lang
$dataGridFactory
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$versionManager

$versionManager : \App\CoreModule\Presenters\VersionManager

Type

\App\CoreModule\Presenters\VersionManager — Version manager

$lang

$lang : 

Type

— Language

$dataGridFactory

$dataGridFactory : \App\GatewayModule\Presenters\UpgradablePackagesDataGridFactory

Type

\App\GatewayModule\Presenters\UpgradablePackagesDataGridFactory — Upgradable packages data grid factory

Methods

afterRender()

afterRender() : 

After template render

Returns

checkRequirements()

checkRequirements(\App\CoreModule\Presenters\ClassType|\App\CoreModule\Presenters\Method  element) : 

Checks requirements

Parameters

\App\CoreModule\Presenters\ClassType|\App\CoreModule\Presenters\Method element

Element

Returns

injectTranslator()

injectTranslator(\App\CoreModule\Presenters\Translator  translator) : 

Injects the translator service

Parameters

\App\CoreModule\Presenters\Translator translator

Translator

Returns

getTranslator()

getTranslator() : \App\CoreModule\Presenters\Translator

Returns the translator

Returns

\App\CoreModule\Presenters\Translator —

Transtalor

createTemplate()

createTemplate() : \App\CoreModule\Presenters\ITemplate

Creates an template

Returns

\App\CoreModule\Presenters\ITemplate —

Template

__construct()

__construct(\App\GatewayModule\Presenters\UpdaterManager  manager) : 

Constructor

Parameters

\App\GatewayModule\Presenters\UpdaterManager manager

Updater manager

Returns

handleList()

handleList() : 

Handles listing of upgradable packages

Returns

handleUpdate()

handleUpdate() : 

Handles updating package's cache

Returns

handleUpgrade()

handleUpgrade() : 

Handles updating packages

Returns

showCommandOutput()

showCommandOutput(  type, string|null  buffer) : 

Shows shell command output

Parameters

type

Output type

string|null buffer

Output buffer

Returns