File/sl_config.php

Description

Sloodle core script.

Sets up the basic Sloodle information, and includes the necessary Moodle data/functionality.

Includes
 require_once (realpath(dirname(__FILE__)."/"."../../config.php")) (line 13)
Constants
SLOODLE_DEBUG = true (line 48)
SLOODLE_DEBUG_MODE_PARAM_NAME = 'sloodledebug' (line 42)

The name of the HTTP parameter which can be used to activate Sloodle debug mode.

SLOODLE_DIRROOT = $CFG->dirroot.'/mod/sloodle' (line 32)

The data path for the root of the Sloodle folder.

SLOODLE_LIBROOT = $CFG->dirroot.'/mod/sloodle/lib' (line 34)

The data path for the root of the Sloodle library folder.

SLOODLE_OBJECT_ACCESS_LEVEL_GROUP = 2 (line 117)

Indicates that only in-world group-members may access an object in-world.

SLOODLE_OBJECT_ACCESS_LEVEL_OWNER = 1 (line 115)

Indicates that only the owner may access an object in-world.

SLOODLE_OBJECT_ACCESS_LEVEL_PUBLIC = 0 (line 113)

Indicates that anybody may access an object in-world.

SLOODLE_SERVER_ACCESS_LEVEL_COURSE = 1 (line 122)

Indicates that only those registered and enrolled in a specific course may access a server resource.

SLOODLE_SERVER_ACCESS_LEVEL_PUBLIC = 0 (line 120)

Indicates that anybody may access a server resource (still requires an authenticated request).

SLOODLE_SERVER_ACCESS_LEVEL_SITE = 2 (line 124)

Indicates that only those registered on the site may access a server resource.

SLOODLE_SERVER_ACCESS_LEVEL_STAFF = 3 (line 126)

Indicates that only those with Sloodle staff status on a course may access a server resource.

SLOODLE_TYPE_CTRL = 'controller' (line 88)
SLOODLE_TYPE_DISTRIB = 'distributor' (line 91)
SLOODLE_TYPE_IBANK = 'ibank' (line 94)
SLOODLE_TYPE_MAP = 'map' (line 93)
SLOODLE_TYPE_PRESENTER = 'presenter' (line 92)
SLOODLE_VERSION = 0.4 (line 37)

The Sloodle version number.

SLOODLE_WWWROOT = $CFG->wwwroot.'/mod/sloodle' (line 30)

The path for browsing to the root of the Sloodle folder.

Functions
sloodle_debug (line 75)

Outputs messages if in debug mode.

void sloodle_debug (string $msg)
  • string $msg: The debug message to output

Documentation generated on Fri, 17 Jul 2009 11:02:31 +0100 by phpDocumentor 1.4.0