Public Member Functions | |
__construct ($zipLocation) | |
getZipLocation () | |
getVersion () | |
getInvitationMessage () | |
getFinishMessage () | |
update ($destination) |
Static Public Member Functions | |
static | make ($location, $exclude=array(), $invitationMessage= '', $finishMessage= '') |
static | releaseName () |
static | migrate () |
static | backupProject ($destination= '/tmp') |
Static Public Attributes | |
static | $temporaryDir = '/tmp' |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Definition at line 11 of file Release.php.
Release::__construct | ( | $zipLocation | ) |
Constructor
string | $zipLocation | location of release zip archive |
Definition at line 31 of file Release.php.
|
static |
Backup project folder
string | $destination | folder where backup will be saved |
Definition at line 192 of file Release.php.
References ZipHelper\compress().
Referenced by ReleaseController\actionUpdateStep3().
Release::getFinishMessage | ( | ) |
Retrieve finish message from archive
Definition at line 103 of file Release.php.
Release::getInvitationMessage | ( | ) |
Retrieve invitation message from archive
Definition at line 88 of file Release.php.
Release::getVersion | ( | ) |
Retrieve release version from archive
Definition at line 70 of file Release.php.
Release::getZipLocation | ( | ) |
Public getter
Definition at line 41 of file Release.php.
Referenced by update().
|
static |
Create release of current project. Compress all necessary data into archive
string | $location | release folder |
array | $exclude | files/folder which need to be excluded |
string | $invitationMessage | message which will be displayed before update process |
string | $finishMessage | message which will be displayed after update process |
Definition at line 138 of file Release.php.
References ZipHelper\compress(), and releaseName().
Referenced by ReleaseController\actionCreate().
|
static |
Runs migrate command
Definition at line 177 of file Release.php.
|
static |
Returns release name
Definition at line 164 of file Release.php.
Referenced by make().
Release::update | ( | $destination | ) |
Update project placed in $destination folder from release archive
string | $destination | destination folder |
Definition at line 121 of file Release.php.
References ZipHelper\extract(), and getZipLocation().