/sloodle/sl_config.phpSloodle core script.
Sets up the basic Sloodle information, and includes the necessary Moodle data/functionality.
require_once
(realpath(dirname(__FILE__)."/"."../../config.php"))
(line 13)
SLOODLE_DEBUG = true
(line 44)
SLOODLE_DEBUG_MODE_PARAM_NAME = 'sloodledebug'
(line 38)
The name of the HTTP parameter which can be used to activate Sloodle debug mode.
SLOODLE_DIRROOT = $CFG->dirroot.'/mod/sloodle'
(line 29)
The data path for the root of the Sloodle folder.
SLOODLE_LIBROOT = $CFG->dirroot.'/mod/sloodle/lib'
(line 31)
The data path for the root of the Sloodle library folder.
SLOODLE_OBJECT_ACCESS_LEVEL_GROUP = 2
(line 102)
Indicates that only in-world group-members may access an object in-world.
SLOODLE_OBJECT_ACCESS_LEVEL_OWNER = 1
(line 100)
Indicates that only the owner may access an object in-world.
SLOODLE_OBJECT_ACCESS_LEVEL_PUBLIC = 0
(line 98)
Indicates that anybody may access an object in-world.
SLOODLE_SERVER_ACCESS_LEVEL_COURSE = 1
(line 107)
Indicates that only those registered and enrolled in a specific course may access a server resource.
SLOODLE_SERVER_ACCESS_LEVEL_PUBLIC = 0
(line 105)
Indicates that anybody may access a server resource (still requires an authenticated request).
SLOODLE_SERVER_ACCESS_LEVEL_SITE = 2
(line 109)
Indicates that only those registered on the site may access a server resource.
SLOODLE_SERVER_ACCESS_LEVEL_STAFF = 3
(line 111)
Indicates that only those with Sloodle staff status on a course may access a server resource.
SLOODLE_TYPE_CTRL = 'controller'
(line 82)
SLOODLE_TYPE_DISTRIB = 'distributor'
(line 85)
SLOODLE_VERSION = 0.3
(line 33)
The Sloodle version number.
SLOODLE_WWWROOT = $CFG->wwwroot.'/mod/sloodle'
(line 27)
The path for browsing to the root of the Sloodle folder.
Documentation generated on Mon, 16 Jun 2008 15:57:00 +0100 by phpDocumentor 1.4.0