LimeSurvey API - Master branch

ExtensionUpdaterServiceLocator
in package

Tags
since
2018-09-26
author

LimeSurvey GmbH

Table of Contents

Properties

$updaters  : array<string, callable>

Methods

addUpdaterType()  : void
getAllUpdaters()  : array<string|int, mixed>
Get all created updaters for all updater types (plugins, themes, ...).
getUpdater()  : ExtensionUpdater|null
Get created updaters for one updater class.
init()  : void
All Yii components need an init() method.

Properties

Methods

addUpdaterType()

public addUpdaterType(string $name, callable $creator) : void
Parameters
$name : string

Updater class name, like 'PluginUpdater', or 'ExtensionUpdater'.

$creator : callable

Callable that returns an ExtensionUpdater array.

getAllUpdaters()

Get all created updaters for all updater types (plugins, themes, ...).

public getAllUpdaters() : array<string|int, mixed>
Return values
array<string|int, mixed>

[ExtensionUpdater[] $updaters, string[] $errors]


        
On this page

Search results