Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$cachetime

$cachetime : 

Type

$categories

$categories : 

Type

$update_count

$update_count : 

Type

$updates

$updates : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$RepoEndpoint

$RepoEndpoint : 

Type

$coreRootCert

$coreRootCert : 

Type

$packagesRootCert

$packagesRootCert : 

Type

$extensions

$extensions : 

Type

$plusversion

$plusversion : 

Type

$user_auth

$user_auth : 

Type

$new_version

$new_version : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

getChannel()

getChannel() 

InitLifeupdate()

InitLifeupdate(  $new_version) 

Parameters

$new_version

DisplayCategories()

DisplayCategories() 

CheckforPackages()

CheckforPackages(  $force = false) 

Check if we need to download a new Packagelist

Parameters

$force

getExtensionList()

getExtensionList() : array

Build the List with all package information

Returns

array —

with version info

ResetExtensionList()

ResetExtensionList() 

getExtensionDownloadLink()

getExtensionDownloadLink(  $intExtensionID,   $intCategory,   $strExtensionName) 

Parameters

$intExtensionID
$intCategory
$strExtensionName

getCoreUpdateDownloadLink()

getCoreUpdateDownloadLink() 

downloadPackage()

downloadPackage(  $src,   $dest,   $filename) 

Parameters

$src
$dest
$filename

verifyPackage()

verifyPackage(  $src,   $hash,   $signature,   $type = "core",   $blnDeleteIfWrong = true,   $blnAgain = false) 

Parameters

$src
$hash
$signature
$type
$blnDeleteIfWrong
$blnAgain

unpackPackage()

unpackPackage(  $file,   $dest) 

Parameters

$file
$dest

UpdateCount()

UpdateCount() 

UpdatesAvailable()

UpdatesAvailable(  $pcore = false) 

Parameters

$pcore

pemToDer()

pemToDer(  $pem = null) : string

Convert pem encoded certificate to DER encoding

Parameters

$pem

Returns

string —

$derEncoded on success

UpdateBadge()

UpdateBadge(  $id,   $pcore = false) 

Parameters

$id
$pcore

BuildUpdateArray()

BuildUpdateArray(  $only_installed = true) 

Parameters

$only_installed

getFilelistFromPackageFile()

getFilelistFromPackageFile(  $packageFile,   $type = false) 

Parameters

$packageFile
$type

full_copy()

full_copy(  $source,   $target) 

Parameters

$source
$target

checkRequirementsForNewCore()

checkRequirementsForNewCore(  $strRequirementsString,   $updates) 

Parameters

$strRequirementsString
$updates

convert_hr_to_bytes()

convert_hr_to_bytes(  $size) 

Parameters

$size

notifyAdminForUpdate()

notifyAdminForUpdate(  $arrPluginDetails) 

Parameters

$arrPluginDetails

getChannelURL()

getChannelURL() 

fetchExtensionList()

fetchExtensionList() 

getIntermediateCerts()

getIntermediateCerts() 

parseIntermediateCerts()

parseIntermediateCerts(  $strCerts) 

Parameters

$strCerts

loadIntermediateCert()

loadIntermediateCert() 

loadRevokeList()

loadRevokeList() 

getRevokeList()

getRevokeList() 

checkIfRevoked()

checkIfRevoked(  $cert) 

Parameters

$cert

verifyIntermediateCert()

verifyIntermediateCert(  $intermCert,   $type = "core") 

Parameters

$intermCert
$type

TooltipContent()

TooltipContent() 

check_php_limit()

check_php_limit(  $needed) 

Parameters

$needed