UpdatesVariable

Type
Class
Namespace
Craft
Inherits
Craft\UpdatesVariable
Since
1.0

Update functions.

See also http://craftcms.com

View source (opens new window)

# Public Methods

Method Description
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 (opens new window)

Returns

array (opens new window)

Signature

public array getUnwritableFolders ( )

# getUpdates()

View source (opens new window)

Arguments

Returns

mixed

Signature

public mixed getUpdates ( $forceRefresh = false )

# isCriticalUpdateAvailable()

Returns whether a critical update is available.

View source (opens new window)

Returns

boolean (opens new window)

Signature

public boolean isCriticalUpdateAvailable ( )

# isUpdateInfoCached()

Returns whether the update info is cached.

View source (opens new window)

Returns

boolean (opens new window)

Signature

public boolean isUpdateInfoCached ( )