Class ApplicationUpdate

Methods summary

public string
# getUpdateVersion( )

Returns the version string.

public string
# getUpdateIdentifier( )

Returns the version identifier (equals to the name of the directory under the updates directory).

public static Concrete\Core\Updater\ApplicationUpdate|null
# getByVersionNumber( string $version )

Returns an ApplicationUpdate instance given its version string.

public true|integer
# apply( )

Writes the core pointer into config/update.php.

public static Concrete\Core\Updater\ApplicationUpdate|null
# get( $dir )

Parse an update dir and returns an ApplicationUpdate instance.

public
public
public Concrete\Core\Updater\ApplicationUpdateDiagnostic
# getDiagnosticObject( )

Given the current update object, sends information to concrete5.org to determine updatability

Constants summary

integer E_UPDATE_WRITE_CONFIG

Code of the error that occurs when we weren't able to update the configuration file during the update process.

# 10

Properties summary

protected string $version

The version string.

#
protected string $identifier

The version identifier (equals to the name of the directory under the updates directory).

#