class CRM_Utils_VersionCheck

Constants

CACHEFILE_NAME

CACHEFILE_EXPIRE

Properties

string $localVersion The version of the current (local) installation
array $versionInfo Info about available versions
bool $isInfoAvailable
array $cronJob
string $pingbackUrl
protected array $stats Pingback params
string $cacheFile Path to cache file

Methods

__construct()

Class constructor.

initialize()

Self-populates version info

setVersionInfo($info)

Sets $versionInfo

array|NULL
getVersionMessages()

No description

fetch()

Called by version_check cron job

flushCache()

Removes cached version info.

Details

at line 85
__construct()

Class constructor.

at line 95
initialize()

Self-populates version info

Exceptions

Exception

at line 121
protected setVersionInfo($info)

Sets $versionInfo

Parameters

$info

at line 132
array|NULL getVersionMessages()

Return Value

array|NULL message: string title: string severity: string Ex: 'info', 'notice', 'warning', 'critical'.

at line 139
fetch()

Called by version_check cron job

at line 341
flushCache()

Removes cached version info.