UpdatesVariable

Type
Class
Namespace
Craft
Inherits
Craft\UpdatesVariable
Since
1.0

Update functions.

See also http://craftcms.com

View source

Public Methods

MethodDescription
getManualUpdateDisplayName()
getManualUpdateHandle()
getUnwritableFolders()Returns the folders that need to be set to writable.
getUpdates()
isCriticalUpdateAvailable()Returns whether a critical update is available.
isUpdateInfoCached()Returns whether the update info is cached.

getManualUpdateDisplayName()

Signature

public string, null getManualUpdateDisplayName ( )

getManualUpdateHandle()

Signature

public string, null getManualUpdateHandle ( )

getUnwritableFolders()

Returns the folders that need to be set to writable.

View source

Returns

array

Signature

public array getUnwritableFolders ( )

getUpdates()

View source

Arguments

Returns

mixed

Signature

public mixed getUpdates ( $forceRefresh = false )

isCriticalUpdateAvailable()

Returns whether a critical update is available.

View source

Returns

boolean

Signature

public boolean isCriticalUpdateAvailable ( )

isUpdateInfoCached()

Returns whether the update info is cached.

View source

Returns

boolean

Signature

public boolean isUpdateInfoCached ( )