Method |
Description |
|
admin ( array $submissionVars ) : void |
Admin account controller |
|
bootstrapConfig ( ) : void |
Set up configuration variables |
|
bootstrapEngine ( ) : void |
Load the essential libraries of the engine |
|
checkDatabaseSettings ( string $user, string $password, string $dbname, string $host ) : boolean |
Confirm the settings for the database |
|
checkInstallCompletion ( string $step ) : void |
Security check to ensure the installer cannot be run after installation
has finished. If this is detected, the viewer is sent to the front page. |
|
checkPHP ( &$report ) : void |
Check version of PHP, extensions, and variables |
|
checkPhpDirectives ( &$phpReport ) : void |
Check PHP parameters |
|
checkPhpExtensions ( &$phpReport ) : void |
Check the server's PHP extensions |
|
checkRewriteRules ( &$report ) : void |
Confirm that the rewrite rules are firing |
|
checkSettingsFile ( &$report = [] ) : boolean |
Check that the settings file exists |
|
complete ( ) : void |
Controller for last step |
|
connectToDatabase ( ) : boolean |
Bootstrap database connection before entire engine is available |
|
continueToNextStep ( string $currentStep ) : void |
Forwards the browser to the next step |
|
countNumConditions ( array $report, string $condition ) : integer |
Count the number of failures in the requirements report |
|
createAdminAccount ( array $submissionVars, boolean $login = FALSE ) : boolean |
Create a user account for the admin |
|
createDataDirectory ( &$submissionVars, array $formVars ) : boolean |
Create the data directory if requested |
|
createSettingsFile ( array $params ) : boolean |
Writes the settings file to the engine directory |
|
database ( array $submissionVars ) : void |
Database set up controller |
|
enablePlugins ( ) : void |
Enable a set of default plugins |
|
finishBootstraping ( string $step ) : void |
Load remaining engine libraries and complete bootstrapping |
|
getBaseUrl ( ) : string |
Get the best guess at the base URL |
|
getNextStep ( string $currentStep ) : string |
Get the next step as a string |
|
getNextStepUrl ( string $currentStep ) : string |
Get the URL of the next step |
|
getPostVariables ( ) : array |
Return an associative array of post variables
(could be selective based on expected variables) |
|
getSteps ( ) : array |
Get an array of steps |
|
installDatabase ( ) : boolean |
Create the database tables |
|
isInstallDirWritable ( &$report ) : boolean |
Indicates whether the webserver can add settings.php on its own or not. |
|
loadSettingsFile ( ) : void |
Load settings.php |
|
makeFormSticky ( array $formVars, array $submissionVars ) : array |
If form is reshown, remember previously submitted variables |
|
processRewriteTest ( ) : void |
Check if the request is coming from the URL rewrite test on the
requirements page. |
|
render ( string $step, array $vars = [] ) : void |
Renders the data passed by a controller |
|
requirements ( array $vars ) : void |
Requirements controller |
|
resumeInstall ( string $step ) : string |
Check if this is a case of a install being resumed and figure
out where to continue from. Returns the best guess on the step. |
|
saveSiteSettings ( array $submissionVars ) : boolean |
Initialize the site including site entity, plugins, and configuration |
|
setInstallStatus ( ) : void |
Check the different install steps for completion |
|
setSubtypeClasses ( ) : void |
Register classes for core objects |
|
settings ( array $submissionVars ) : void |
Site settings controller |
|
validateAdminVars ( array $submissionVars, array $formVars ) : boolean |
Validate account form variables |
|
validateDatabaseVars ( array $submissionVars, array $formVars ) : boolean |
Validate the variables for the database step |
|
validateSettingsVars ( array $submissionVars, array $formVars ) : boolean |
Validate the site settings form variables |
|
welcome ( array $vars ) : void |
Welcome controller |
|