Methods

Constructor of Contenido_UpdateNotifier

__construct($aCfg, $oUser, $oPerm, $oSession, $sBackendLanguage) : void
access public

Parameters

$aCfg

$oUser

$oPerm

$oSession

$sBackendLanguage

Displays the rendered output

displayOutput() : string
access public

Returns

string

Checks the patch level of system and vendor version

checkPatchLevel() : string
access protected

Returns

string

Checks if the xml files must be loaded from the vendor host or local cache

checkUpdateNecessity() : void
access protected

Detects and converts the minor release of the system version

detectMinorRelease() : void
access protected

Generates the download URL

getDownloadURL() : string
access protected

Returns

string

Gets the xml file hash from the property table

getHashProperty() : string
access protected

Returns

string

Connects with vendor host and gets the xml files

getVendorHostFiles() : array
access protected

Returns

array

Handles the update of files coming per vendor host

handleVendorUpdate($aXMLContent) : void
access protected

Parameters

$aXMLContent

Reads the xml files from vendor host or cache and checks for file manipulations

readVendorContent() : void
access protected

Generates the output for the backend

renderOutput($sMessage) : string
access protected

Parameters

$sMessage

string

Returns

string

Generates the output for the rss informations

renderRss($oTpl) : \contenido
access protected

Parameters

$oTpl

Returns

\contenidotemplate object

Sets the cache path

setCachePath() : void
access protected

Sets the actual RSS file for the reader

setRSSFile() : void
access protected

Updates the files in cache

updateCacheFiles($aRSSContent) : void
access protected

Parameters

$aRSSContent

array

Updates the xml file hash in the property table

updateHashProperty($aXMLContent) : void
access protected

Parameters

$aXMLContent

Updates the system property for activation/deactivation requests

updateSystemProperty($sAction) : void
access protected

Parameters

$sAction

string

 Properties

 

$aCfg : array
access protected
 

$aPropConf : array
access protected
 

$aSysPropConf : array
access protected
 

$aSysPropConfPeriod : array
access protected
 

$aSysPropConfRss : array
access protected
 

$bEnableCheck : boolean
access protected
 

$bEnableCheckRss : boolean
access protected
 

$bEnableView : boolean
access protected
 

$bNoWritePermissions : boolean
access protected
 

$bUpdateNecessity : boolean
access protected
 

$iCacheDuration : integer
access protected
 

$iConnectTimeout : integer
access protected
 

$oProperties : object
access protected
 

$oSession : object
access protected
 

$oXML : object
access protected
 

$sBackendLanguage : string
access protected
 

$sCacheDirectory : string
access protected
 

$sMinorRelease : string
access protected
 

$sRSSContent : string
access protected
 

$sRSSFile : string
access protected
 

$sTimestampCacheFile : string
access protected
 

$sVendorHost : string
access protected
 

$sVendorHostPath : string
access protected
 

$sVendorRssDeFile : string
access protected
 

$sVendorRssEnFile : string
access protected
 

$sVendorURL : string
access protected
 

$sVendorVersion : string
access protected
 

$sVendorXMLFile : string
access protected
 

$sXMLContent : string
access protected