protected static function InPlaceUpdate::getQuasiPatchFileName in Automatic Updates 7
Get the quasi-patch file name.
Parameters
string $project_name: The project name.
string $from_version: The current project version.
string $to_version: The desired next project version.
Return value
string The quasi-patch file name.
1 call to InPlaceUpdate::getQuasiPatchFileName()
- InPlaceUpdate::getArchive in ./
InPlaceUpdate.php - Get an archive with the quasi-patch contents.
File
- ./
InPlaceUpdate.php, line 442
Class
- InPlaceUpdate
- Class to apply in-place updates.
Code
protected static function getQuasiPatchFileName($project_name, $from_version, $to_version) {
return "{$project_name}-{$from_version}-to-{$to_version}.zip";
}