Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
install_cli_database (array $options, $interactive) | |
Install Moodle DB, config.php must exist, there must not be any tables in db yet. | |
install_db_validate ($database, $dbhost, $dbuser, $dbpass, $dbname, $prefix, $dboptions) | |
This is in function because we want the /install.php to parse in PHP4. | |
install_generate_configphp ($database, $cfg) | |
Returns content of config.php file. | |
install_guess_wwwroot () | |
Tries to detect the right www root setting. | |
install_helpbutton ($url, $title='') | |
Print help button. | |
install_ini_get_bool ($ini_get_arg) | |
Copy of. | |
install_init_dataroot ($dataroot, $dirpermissions) | |
Creates dataroot if not exists yet, makes sure it is writable, add lang directory and add .htaccess just in case it works. | |
object | install_print_footer ($config, $reload=false) |
Prints installation page header, we can not use weblib yet in installer. | |
object | install_print_header ($config, $stagename, $heading, $stagetext, $stageclass="alert-info") |
Prints installation page header, we can not use weblib yet in installer. | |
object | install_print_help_page ($help) |
Prints complete help page used during installation. | |