PHP Class Updates_model, TastyIgniter

Inheritance: extends TI_Model
Afficher le fichier Open project: tastyigniter/tastyigniter

Protected Properties

Свойство Type Description
$endpoint
$updated_files

Méthodes publiques

Méthode Description
downloadUpdate ( $update_type, $update = '' )
flushUpdatedFiles ( )
getRemoteData ( $url, $options = [], $params = [] )
getRemoteVersion ( $url )
getUpdates ( $refresh )
getVersions ( $extensions = [], $refresh = FALSE )
installCoreUpdate ( $update_version, $update_file )
lastVersionCheck ( )
update ( $update_type, $update_name = '', $update_version = '' )

Méthodes protégées

Méthode Description
copyTempFiles ( $source, $destination )
isFilesIdentical ( $file_one, $file_two )
removeTempFiles ( $files = [], $from_folder = '' )

Method Details

copyTempFiles() protected méthode

protected copyTempFiles ( $source, $destination )

downloadUpdate() public méthode

public downloadUpdate ( $update_type, $update = '' )

flushUpdatedFiles() public méthode

public flushUpdatedFiles ( )

getRemoteData() public méthode

public getRemoteData ( $url, $options = [], $params = [] )

getRemoteVersion() public méthode

public getRemoteVersion ( $url )

getUpdates() public méthode

public getUpdates ( $refresh )

getVersions() public méthode

public getVersions ( $extensions = [], $refresh = FALSE )

installCoreUpdate() public méthode

public installCoreUpdate ( $update_version, $update_file )

isFilesIdentical() protected méthode

protected isFilesIdentical ( $file_one, $file_two )

lastVersionCheck() public méthode

public lastVersionCheck ( )

removeTempFiles() protected méthode

protected removeTempFiles ( $files = [], $from_folder = '' )

update() public méthode

public update ( $update_type, $update_name = '', $update_version = '' )

Property Details

$endpoint protected_oe property

protected $endpoint

$updated_files protected_oe property

protected $updated_files