public function bootstrapLevel() { # set to no client. when CLI_SCRIPT is defined, moodle creates an empty session return self::$BOOTSTRAP_FULL_NOCLI; }