Class cCLISetup
Provides functions to gather the necessary settings for autoinstall.php
Package: Setup
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at lib/class.clisetup.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Mischa Holz
Located at lib/class.clisetup.php
public
|
|
public
|
#
interpretCommandline( )
Reads all parameters and gathers the settings for the installation accordingly |
public
|
|
public
|
#
getSettingsFromCommandLine( array $args,… )
Read the settings from various parameters from the command line |
public
|
|
public
|
#
getSettingsFromFile( string $file )
Reads the specified file and saves the values in the appropriate places |
public
|
#
executeSystemTests( )
Executes the CONTENIDO system tests and prints the result to the user. In case of an error it asks if the user wants to continue anyway and, if not, quits the script. |
public
|
#
applySettings( )
Take the settings from the settings array and write them to the appropriate places |
protected
array
|
$settings
holds the setup settings |
|
protected
array
|
$args
holds the command line options |
|
protected
string
|
$settingsFile
path to the settings files |