LimeSurvey API - Master branch

GitVersionFetcher extends VersionFetcher
in package

Tags
since
2018-09-26
author

LimeSurvey GmbH

Table of Contents

Properties

$extensionName  : string
Which extension name this fetcher belongs to.
$extensionType  : string
Which extension type this fetcher belongs to.
$source  : string
Source.
$stable  : bool
Is this fetcher marked as stable or not? From <stable> tag.
$updaterXml  : SimpleXMLElement
<updater> XML tag from config.xml.

Methods

__construct()  : mixed
getLatestSecurityVersion()  : string
Get latest security version for configured source.
getLatestVersion()  : string
Get latest version for configured source.
getManualUpdateUrl()  : string|null
setExtensionName()  : void
setExtensionType()  : mixed
setSource()  : void
Set source to fetch version information. Can be URL to REST API, git repo, etc.
setStable()  : void

Properties

$extensionName

Which extension name this fetcher belongs to.

protected string $extensionName

$extensionType

Which extension type this fetcher belongs to.

protected string $extensionType

$stable

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

protected bool $stable

$updaterXml

<updater> XML tag from config.xml.

protected SimpleXMLElement $updaterXml

Methods

__construct()

public __construct(SimpleXMLElement $updaterXml) : mixed
Parameters
$updaterXml : SimpleXMLElement

getLatestSecurityVersion()

Get latest security version for configured source.

public getLatestSecurityVersion() : string
Tags
inherit
Return values
string

Semantic versioning string.

getLatestVersion()

Get latest version for configured source.

public getLatestVersion() : string
Tags
inherit
Return values
string

Semantic versioning string.

getManualUpdateUrl()

public getManualUpdateUrl() : string|null
Return values
string|null

setExtensionName()

public setExtensionName(string $name) : void
Parameters
$name : string

setExtensionType()

public setExtensionType(string $type) : mixed
Parameters
$type : string

setSource()

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

public setSource(string $source) : void
Parameters
$source : string

setStable()

public setStable(bool $stable) : void
Parameters
$stable : bool

        
On this page

Search results