\App\GatewayModule\PresentersPowerPresenter

IQRF Gateway Daemon's power manager presenter

Summary

Methods
Properties
Constants
afterRender()
checkRequirements()
injectTranslator()
getTranslator()
createTemplate()
__construct()
handleOff()
handleReboot()
$versionManager
$lang
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

Methods

afterRender()

afterRender() : 

After template render

Returns

checkRequirements()

checkRequirements(  element) : 

Checks requirements

Parameters

element

Element

Returns

injectTranslator()

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

Injects the translator service

Parameters

\App\CoreModule\Presenters\ITranslator translator

Translator

Returns

getTranslator()

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

Returns the translator

Returns

\App\CoreModule\Presenters\ITranslator —

Transtalor

createTemplate()

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

Creates an template

Returns

\App\CoreModule\Presenters\ITemplate —

Template

__construct()

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

Constructor

Parameters

\App\GatewayModule\Presenters\PowerManager manager

IQRF Gateway Daemon's power manager

Returns

handleOff()

handleOff() : 

Powers off IQRF Gateway

Returns

handleReboot()

handleReboot() : 

Reboots IQRF Gateway

Returns