todo | Survey theme, question theme, admin theme...? |
---|---|
since | 2018-10-09 |
author | LimeSurvey GmbH |
package | Default |
__construct(mixed $model)
mixed
Plugin model, theme model, etc, depending on extension type.
convertExtensionType(string $type): string
string
string
createUpdaters(): array
array
[ExtensionUpdater[] $updaters, string[] $errorMessages]
fetchVersions(): array
todo | Move to parent class? |
---|---|
array
$versions
foundSecurityVersion(array $versions): boolean
array
Each version has keys 'version' and 'isSecurityVersion'.
boolean
getCurrentVersion(): string
string
getExtensionConfig(): \ExtensionConfig
getExtensionName(): string
Extension type specific implementation.
string
getExtensionType(): string
Extension type specific implementation.
string
getLatestVersion(array $versions): array|null
array
array|null
getVersionMessage(array $versions): string
array
Each version has keys 'version' and 'isSecurityVersion', etc.
string
implodeVersions(array $versions): string
array
Each version has keys 'version' and 'isSecurityVersion'.
string
setUseUnstable(): void
versionHigherThan(string $newVersion): boolean
string
boolean
versionIsStable(string $version): boolean
The version is stable IF it does not contain alpha, beta or rc suffixes.
string
boolean
model :mixed
todo | Create interface ExtensionModelInterface that all extension model classes implement |
---|---|
var |
mixed
useStable :boolean
var |
---|
boolean
useUnstable :boolean
var |
---|
boolean