GitVersionFetcher

Extends\LimeSurvey\ExtensionInstaller\VersionFetcher

since 2018-09-26
author

Olle Haerstedt

package

Default

Methods

__construct

__construct(\LimeSurvey\ExtensionInstaller\SimpleXMLElement $updaterXml)
inherited

Arguments

$updaterXml

\LimeSurvey\ExtensionInstaller\SimpleXMLElement

Get latest security version for configured source.

getLatestSecurityVersion(): string
inheritedabstract

Response

string

Semantic versioning string.

Get latest version for configured source.

getLatestVersion(): string
inheritedabstract

Response

string

Semantic versioning string.

getManualUpdateUrl

getManualUpdateUrl(): string
inherited

Response

string

setExtensionName

setExtensionName(string $name): void
inherited

Arguments

$name

string

setExtensionType

setExtensionType(string $type)
inherited

Arguments

$type

string

Set source to fetch version information. Can be URL to REST API, git repo, etc.

setSource(string $source): void
inherited

Arguments

$source

string

setStable

setStable(boolean $stable): void
inherited

Arguments

$stable

boolean

Properties

<updater> XML tag from config.xml.

updaterXml :\LimeSurvey\ExtensionInstaller\SimpleXMLElement
inherited
var

Type(s)

\LimeSurvey\ExtensionInstaller\SimpleXMLElement

Source.

source :string
inherited

From tag.

var

Type(s)

string

Is this fetcher marked as stable or not? From <stable> tag.

stable :boolean
inherited
var

Type(s)

boolean

Which extension name this fetcher belongs to.

extensionName :string
inherited
var

Type(s)

string

Which extension type this fetcher belongs to.

extensionType :string
inherited
var

Type(s)

string