Properties

$versionManager

$versionManager : \App\CoreModule\Models\VersionManager

Type

normal — Version manager

$lang

$lang : string

Type

normal — Language

$dataGridFactory

$dataGridFactory : \App\ConfigModule\Datagrids\SchedulerDataGridFactory

Type

normal — Scheduler's tasks data grid

$formFactory

$formFactory : \App\ConfigModule\Forms\SchedulerFormFactory

Type

normal — Scheduler's task configuration form factory

$importFormFactory

$importFormFactory : \App\ConfigModule\Forms\SchedulerImportFormFactory

Type

normal — Scheduler's task import form factory

$translator

$translator : \Nette\Localization\ITranslator

Type

\Nette\Localization\ITranslator — Translator

$manager

$manager : \App\ConfigModule\Models\SchedulerManager

Type

normal — Scheduler's configuration manager

$migrationManager

$migrationManager : \App\ConfigModule\Models\SchedulerMigrationManager

Type

normal — Scheduler's migration manager

Methods

flashInfo()

flashInfo(string  $message) : \stdClass

Saves the info flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashSuccess()

flashSuccess(string  $message) : \stdClass

Saves the success flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashWarning()

flashWarning(string  $message) : \stdClass

Saves the warning flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

flashError()

flashError(string  $message) : \stdClass

Saves the error flash message to template, that can be displayed after redirect or AJAX request

Parameters

string $message

Message

Returns

\stdClass —

Flash message object

afterRender()

afterRender() : void

After template render

checkRequirements()

checkRequirements(mixed  $element) : void

Checks requirements

Parameters

mixed $element

Element

injectTranslator()

injectTranslator(\Nette\Localization\ITranslator  $translator) : void

Injects the translator service

Parameters

\Nette\Localization\ITranslator $translator

Translator

getTranslator()

getTranslator() : \Nette\Localization\ITranslator

Returns the translator

Returns

\Nette\Localization\ITranslator —

Transtalor

createTemplate()

createTemplate() : \Nette\Application\UI\ITemplate

Creates an template

Returns

\Nette\Application\UI\ITemplate —

Template

__construct()

__construct(\App\ConfigModule\Models\SchedulerManager  $manager, \App\ConfigModule\Models\SchedulerMigrationManager  $migrationManager) : mixed

Constructor

Parameters

\App\ConfigModule\Models\SchedulerManager $manager

Scheduler's configuration manager

\App\ConfigModule\Models\SchedulerMigrationManager $migrationManager

Scheduler's migration manager

Returns

mixed

renderDefault()

renderDefault() : void

Renders a list of tasks in scheduler

renderEdit()

renderEdit(int  $id) : void

Edits the task in scheduler

Parameters

int $id

ID of task in Scheduler

actionDelete()

actionDelete(int  $id) : void

Deletes the task in scheduler

Parameters

int $id

ID of task in Scheduler

actionExport()

actionExport() : void

Exports a scheduler's configuration action

createComponentConfigSchedulerDataGrid()

createComponentConfigSchedulerDataGrid(string  $name) : \Ublaboo\DataGrid\DataGrid

Creates the scheduler's tasks data grid

Parameters

string $name

Data grid's component name

Throws

\Ublaboo\DataGrid\Exception\DataGridException
\Nette\Utils\JsonException

Returns

\Ublaboo\DataGrid\DataGrid —

Scheduler's tasks data grid

createComponentConfigSchedulerForm()

createComponentConfigSchedulerForm() : \Nette\Application\UI\Form

Creates the Edit task form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

Edit task form

createComponentConfigSchedulerImportForm()

createComponentConfigSchedulerImportForm() : \Nette\Application\UI\Form

Creates the tash import form

Throws

\Nette\Utils\JsonException

Returns

\Nette\Application\UI\Form —

Task import form