SSPak
class SSPak (View source)
SSPak handler
Properties
protected | $executor |
Methods
Extracts an existing database and/or assets from a sspak into the given directory, defaulting the current working directory if the destination is not given.
Details
__construct(Executor $executor)
Create a new handler
getActions()
No description
help($args)
No description
saveexisting($args)
Save an existing database and/or assets into an .sspak.phar file.
Does the same as save() but doesn't require an existing site.
extract($args)
Extracts an existing database and/or assets from a sspak into the given directory, defaulting the current working directory if the destination is not given.
listTables($args)
No description
saveCsv($args)
No description
loadCsv($args)
No description
save($args)
Save a .sspak.phar file
getdb_MySQLPDODatabase($webroot, $conf, $sspak, $filename)
No description
getdb_MySQLDatabase($webroot, $conf, $sspak, $filename)
No description
getdb_PostgreSQLDatabase($webroot, $conf, $sspak, $filename)
No description
getassets($webroot, $assetsPath, $sspak, $filename)
No description
getgitremote($webroot, $sspak, $gitRemoteFile)
No description
load($args)
Load an .sspak into an environment.
Does not backup - be careful!
install($args)
Install an .sspak into a new environment.
bundle($args)
Bundle a .sspak into a self-extracting executable installer.
transfer($args)
Transfer between environments without creating an sspak file