Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/db/install.php File Reference

Go to the source code of this file.

Namespaces

namespace  core

Functions

 xmldb_main_install ()

Function Documentation

Make sure system context exists

Create site course

Create default course category

Bootstrap mnet

Create guest record - do not assign any role, guest user gets the default guest role automatically on the fly

Now create admin user

Store list of admins

Install the roles system.

Now is the correct moment to install capabilities - after creation of legacy roles, but before assigning of roles

Default allow assign

Default allow override

Default allow switch.

Set up the context levels where you can assign each role.

Definition at line 29 of file install.php.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations