Methods
Constructor of Contenido_UpdateNotifier
__construct($aCfg, $oUser, $oPerm, $oSession, $sBackendLanguage) : void
Parameters
$aCfg
$oUser
$oPerm
$oSession
$sBackendLanguage
Displays the rendered output
displayOutput() : string
Checks the patch level of system and vendor version
checkPatchLevel() : string
Checks if the xml files must be loaded from the vendor host or local cache
checkUpdateNecessity() : void
Detects and converts the minor release of the system version
detectMinorRelease() : void
Generates the download URL
getDownloadURL() : string
Gets the xml file hash from the property table
getHashProperty() : string
Connects with vendor host and gets the xml files
getVendorHostFiles() : array
Handles the update of files coming per vendor host
handleVendorUpdate($aXMLContent) : void
Reads the xml files from vendor host or cache and checks for file manipulations
readVendorContent() : void
Generates the output for the backend
renderOutput($sMessage) : string
Parameters
Returns
string
Sets the cache path
setCachePath() : void
Updates the files in cache
updateCacheFiles($aRSSContent) : void
Updates the xml file hash in the property table
updateHashProperty($aXMLContent) : void
Updates the system property for activation/deactivation requests
updateSystemProperty($sAction) : void
Properties
$aSysPropConfPeriod : array
$bNoWritePermissions : boolean
$bUpdateNecessity : boolean
$iCacheDuration : integer
$iConnectTimeout : integer
$sBackendLanguage : string
$sCacheDirectory : string
$sTimestampCacheFile : string
$sVendorHostPath : string