Forms used for setting up SproutCMS for the first time
This is the code documentation for the SproutCMS project
Search documentation |
class WelcomeControllerForms used for setting up SproutCMS for the first time
Functions
public __constructvoid $WelcomeController->__construct ( ); This function does not have a description public addSampleActionvoid $WelcomeController->addSampleAction ( ); Add sample content private addSampleFilesvoid $WelcomeController->addSampleFiles ( ); Add sample files from sample_content/files.xml private addSampleHomePagevoid $WelcomeController->addSampleHomePage ( ); Updates to home page - hardcoded rather than an xml file private addSamplePagesvoid $WelcomeController->addSamplePages ( ); Add sample files from sample_content/pages.xml public checklistvoid $WelcomeController->checklist ( ); Display the welcome checklist public dbConfDatabasevoid WelcomeController::dbConfDatabase ( ); Generate and download a database config file public dbConfFormvoid $WelcomeController->dbConfForm ( ); Show a UI for generating a database config public dbConfHostsvoid WelcomeController::dbConfHosts ( ); Generate and download a dev hosts config file public dbConfPasswordvoid WelcomeController::dbConfPassword ( ); Generate and download a password config file public dbConfResultvoid $WelcomeController->dbConfResult ( ); Display the generated database config public dbConfTestvoid $WelcomeController->dbConfTest ( ); Ajax method to test the db connection for a given set of params private genDbConfigstring WelcomeController::genDbConfig ( array $data ); Generate a database config from given parameters private genDevHostsConfigstring WelcomeController::genDevHostsConfig ( ); Generate a dev hosts config, which contains the existing config and the current hostname private genPassConfigstring WelcomeController::genPassConfig ( array $data ); Generate a database password file from given parameters private passwordComplexityunknown WelcomeController::passwordComplexity ( mixed $str ); Ensure password has enough complexity public phpInfovoid $WelcomeController->phpInfo ( ); Show a phpinfo() view along with some extra information public redirectvoid $WelcomeController->redirect ( ); Redirect home page traffic to the welcome checklist public superOperatorActionvoid $WelcomeController->superOperatorAction ( ); Create a super operator public superOperatorConfvoid $WelcomeController->superOperatorConf ( ); Generate and download super operator config file public superOperatorFormvoid $WelcomeController->superOperatorForm ( ); Show a UI to create a super-operator public superOperatorResultvoid $WelcomeController->superOperatorResult ( ); Show the generated super operator details public syncvoid $WelcomeController->sync ( ); Run a database sync private testDbconfarray $WelcomeController->testDbconf ( ); Test the database config is correct private testDbsyncarray $WelcomeController->testDbsync ( ); Test that tables are available private testSampleContentarray $WelcomeController->testSampleContent ( ); Test that sample content has been added private testSuperOparray $WelcomeController->testSuperOp ( ); Test whether one or more super operators have been created private testWelcomearray $WelcomeController->testWelcome ( ); Test that the welcome module isn't installed private wipeTablesvoid $WelcomeController->wipeTables ( ); Wipe the tables used by the sample code system (dev only code) |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |