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 $sMessage) : string

access protected

Parameters

$sMessage

\$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 $aRSSContent) : void

access protected

Parameters

$aRSSContent

\$aRSSContent

array

Updates the xml file hash in the property table

updateHashProperty(\$aRSSContent $aXMLContent) : void

access protected

Parameters

$aXMLContent

\$aRSSContent

array

Updates the system property for activation/deactivation requests

updateSystemProperty(\$sAction $sAction) : void

access protected

Parameters

$sAction

\$sAction

string

 Properties

 

Contenido configuration array

$aCfg : array

access protected
 

Property configuration array

$aPropConf : array

access protected
 

System property configuration array for update notification

$aSysPropConf : array

access protected
 

System property configuration array for update period

$aSysPropConfPeriod : array

access protected
 

System property configuration array for rss notification

$aSysPropConfRss : array

access protected
 

Check for system setting

$bEnableCheck : boolean

access protected
 

Check for system setting Rss

$bEnableCheckRss : boolean

access protected
 

Display update notification based on user rights (sysadmin only)

$bEnableView : boolean

access protected
 

If true contenido displays a special error message due to missing write permissions.

$bNoWritePermissions : boolean

access protected
 

Update necessity

$bUpdateNecessity : boolean

access protected
 

Cache duration in minutes

$iCacheDuration : integer

access protected
 

Timeout for the fsockopen connection

$iConnectTimeout : integer

access protected
 

Properties object

$oProperties : object

access protected
 

Session object

$oSession : object

access protected
 

SimpleXML object

$oXML : object

access protected
 

Current backend language

$sBackendLanguage : string

access protected
 

Contains the cache path.

$sCacheDirectory : string

access protected
 

Minor release for the simplexml xpath() method

$sMinorRelease : string

access protected
 

Content of the language specific RSS file

$sRSSContent : string

access protected
 

Language specific RSS file

$sRSSFile : string

access protected
 

Timestamp cache file

$sTimestampCacheFile : string

access protected
 

Host for vendor XML

$sVendorHost : string

access protected
 

Path to files

$sVendorHostPath : string

access protected
 

German Vendor RSS file

$sVendorRssDeFile : string

access protected
 

English Vendor RSS file

$sVendorRssEnFile : string

access protected
 

Download URL

$sVendorURL : string

access protected
 

Current available vendor version

$sVendorVersion : string

access protected
 

Vendor XML file

$sVendorXMLFile : string

access protected
 

Content of the XML file

$sXMLContent : string

access protected