-
generate_loginzone_allocation
-
Generates a new LoginZone allocation for the specified user.
-
get_authorizing_user
-
Gets the ID of the user who authorised the specified object.
-
get_autoenrol
-
Gets the auto enrolment value for this course only.
-
get_autoreg
-
Gets the autoregistration value for this course only.
-
get_avatar_id
-
Gets the unique ID of the avatar.
-
get_avatar_last_active
-
Gets the timestamp of whenever the avatar was last active
-
get_avatar_name
-
Fetches the avatar name request parameter.
-
get_avatar_name
-
Gets the name of the avatar
-
get_avatar_uuid
-
Gets the UUID of the avatar
-
get_avatar_uuid
-
Fetches the avatar UUID request parameter.
-
get_chat_history
-
Gets a recent history of messages from the chatroom.
-
get_content
-
Defines *and* returns the content of this block.
-
get_controller_id
-
Gets the identifier for controller (unique among all Sloodle controlers - may be the same as get_id() in some environments
-
get_controller_id
-
Fetches the controller ID request parameter.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_id
-
Gets the identifier of the course in the VLE.
-
get_course_id
-
Fetches the course ID request parameter.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_id
-
Gets the identifier of the course this controller belongs to.
-
get_course_module_instance
-
Get a course module instance for the module specified in the request Uses the ID specified in $module_id.
-
get_course_object
-
Gets the VLE course object.
-
get_course_record
-
Gets a database record for the course identified in the request.
-
get_creation_time
-
Gets the time at which this instance was created, or 0 if unknown.
-
get_creation_time
-
Gets the time at which this controller was created.
-
get_creation_time
-
Gets the time at which this instance was created, or 0 if unknown.
-
get_creation_time
-
Gets the time at which this instance was created, or 0 if unknown.
-
get_creation_time
-
Gets the time at which this instance was created, or 0 if unknown.
-
get_creation_time
-
Gets the time at which this instance was created, or 0 if unknown.
-
get_enrolled_courses
-
Gets a numeric array of
SloodleCourse objects for courses the user is enrolled in.
-
get_field_separator
-
Gets the field separator.
-
get_full_name
-
Gets the full name of this course in the VLE.
-
get_id
-
Gets the site-wide unique identifier for this module.
-
get_intro
-
Gets the intro description of this module instance, if available.
-
get_intro
-
Gets the intro description of this module instance, if available.
-
get_intro
-
Gets the intro description of this module instance, if available.
-
get_intro
-
Gets the intro description of this module instance, if available.
-
get_intro
-
Gets the intro description of this module instance, if available.
-
get_intro
-
Gets the intro description of this controller.
-
get_layout_entries
-
Gets all the entries in the named layout.
-
get_layout_names
-
Gets an array associating layout ID's to names
-
get_line_separator
-
Gets the line separator.
-
get_loginzone_allocation
-
Gets the SLurl for the specified user's loginzone alloation
-
get_loginzone_position
-
Gets the position of the loginzone as a string vector <x,y,z>
-
get_loginzone_region
-
Gets the region of the loginzone
-
get_loginzone_size
-
Gets the size of the loginzone as a string vector <x,y,z>
-
get_loginzone_time_updated
-
Gets the timestamp of the last time the loginzone was updated
-
get_modification_time
-
Gets the time at which this instance was last modified, or 0 if unknown.
-
get_modification_time
-
Gets the time at which this instance was last modified, or 0 if unknown.
-
get_modification_time
-
Gets the time at which this instance was last modified, or 0 if unknown.
-
get_modification_time
-
Gets the time at which this instance was last modified, or 0 if unknown.
-
get_modification_time
-
Gets the time at which this instance was last modified, or 0 if unknown.
-
get_modification_time
-
Gets the time at which this controller was last modified.
-
get_module_id
-
Fetches the module ID request parameter.
-
get_name
-
Gets the name of this module instance.
-
get_name
-
Gets the name of this module instance.
-
get_name
-
Gets the name of this module instance.
-
get_name
-
Gets the name of this controller.
-
get_name
-
Gets the name of this module instance.
-
get_name
-
Gets the name of this module instance.
-
get_object
-
Gets data about an active object.
-
get_objects
-
Gets a list of all objects for this Distributor.
-
get_object_configuration
-
Gets an array of object configuration settings.
-
get_param
-
Obtains a named HTTP request parameter, optionally requiring it or not
-
get_password
-
Fetches the password request parameter.
-
get_password
-
Gets the prim password of this controller.
-
get_request_descriptor
-
Fetches the request descriptor request parameter.
-
get_server_access_level
-
Fetches the server access level parameter, if specified.
-
get_short_name
-
Gets the short name of this course in the VLE.
-
get_staff_courses
-
Gets a numeric array of
SloodleCourse objects for courses the user is Sloodle staff.
-
get_type
-
Gets the short type name of this instance.
-
get_type
-
Gets the short type name of this instance.
-
get_type
-
Gets the short type name of this instance.
-
get_type
-
Gets the short type name of this instance.
-
get_type
-
Gets the short type name of this instance.
-
get_type_full
-
Gets the full type name of this instance, according to the current language pack, if available.
-
get_type_full
-
Gets the full type name of this instance, according to the current language pack, if available.
-
get_type_full
-
Gets the full type name of this instance, according to the current language pack, if available.
-
get_type_full
-
Gets the full type name of this instance, according to the current language pack, if available.
-
get_type_full
-
Gets the full type name of this instance, according to the current language pack, if available.
-
get_username
-
Gets the user's username
-
get_user_email
-
Gets the user's email address.
-
get_user_firstname
-
Gets the first name of the user
-
get_user_id
-
Gets the unique ID of the VLE user.
-
get_user_lastname
-
Gets the last name of the user
-
get_x
-
Gets the X coordinate of the position
-
get_y
-
Gets the Y coordinate of the position
-
get_z
-
Gets the Z coordinate of the position
-
general.php
-
-
$side_effects
-
Integer side effect(s) codes.
-
$sloodle_controller_instance
-
Internal only - Sloodle Controller instance database object.
-
$sloodle_course_data
-
The Sloodle course data object, if it exists.
-
$sloodle_distributor_instance
-
Internal only - Sloodle Distributor instance database object.
-
$sloodle_module_instance
-
Internal only - Sloodle module instance database object.
-
$sloodle_module_instance
-
Internal only - Sloodle module instance database object.
-
$status_code
-
Integer status code of the response.
-
$status_descriptor
-
Status descriptor string.
-
save_layout
-
Save the given entries in the named profile.
-
search
-
Searches all entries in the current glossary for the given term.
-
send_object
-
Request that the specified object be sent to the specified avatar.
-
set
-
Accessor - set all members in a single call.
-
set
-
Accessor - set all members in a single call.
-
setup_elements
-
-
set_avatar_last_active
-
Sets the timestamp of when the user was last active
-
set_avatar_name
-
Sets the name of the avatar
-
set_avatar_uuid
-
Sets the UUID of the avatar
-
set_avatar_uuid
-
Accessor function to set member value $avatar_uuid
-
set_channel
-
Sets the UUID of the XMLRPC channel used for requests.
-
set_data
-
Accessor function to set member value $data. Note: it is recommended that you use the add_data_line() and clear_data() functions instead of this.
-
set_field_separator
-
Sets the field separator.
-
set_intro
-
Sets the intro description of this controller.
-
set_line_separator
-
Sets the line separator.
-
set_loginzone_position
-
Sets the position of the loginzone as a string vector <x,y,z>
-
set_loginzone_position_xyz
-
Sets the position of the loginzone as a set of components
-
set_loginzone_region
-
Sets the region of the loginzone
-
set_loginzone_size
-
Sets the size of the loginzone as a string vector <x,y,z>
-
set_loginzone_size_xyz
-
Sets the size of the loginzone as a set of components
-
set_loginzone_time_updated
-
Sets the timestamp of the last time the loginzone was updated
-
set_name
-
Sets the name of this controller.
-
set_objects
-
Sets the list of objects in this Distributor
-
set_page_number
-
Accessor function to set member value $page_number
-
set_page_total
-
Accessor function to set member value $page_total
-
set_password
-
Sets the prim password of this controller.
-
set_pos
-
Sets the position as 3 components.
-
set_position_xyz
-
Sets the position as separate X,Y,Z components
-
set_request_descriptor
-
Accessor function to set member value $request_descriptor
-
set_request_timestamp
-
Accessor function to set member value $request_timestamp
-
set_response_timestamp
-
Accessor function to set member value $response_timestamp
-
set_rotation_xyz
-
Sets the rotation as separate X,Y,Z components
-
set_side_effects
-
Accessor function to set member value $side_effects. Note: it is recommended that you use add_side_effect() or add_side_effects() instead.
-
set_status_code
-
Accessor function to set member value $status_code
-
set_status_descriptor
-
Accessor function to set member value $status_descriptor
-
set_tracking_code
-
Accessor function to set member value $tracking_code
-
sloodle_session.php
-
-
settings.php
-
-
sl_config.php
-
-
SloodleActiveObject
-
An active object, relating to the Sloodle active objects DB table.
-
SloodleChatMessage
-
Represents a single chat message
-
SloodleChatMessage
-
Constructor - initialises members.
-
SloodleController
-
Constructor
-
SloodleController
-
Represents a Sloodle Controller, including data such as prim password.
-
SloodleCourse
-
Constructor
-
SloodleCourse
-
The Sloodle course data class
-
SloodleGlossaryEntry
-
Constructor - initialises members.
-
SloodleGlossaryEntry
-
Represents a single glossary entry
-
SloodleLayoutEntry
-
Stores data for a single entry in a layout profile.
-
SloodleLSLHandler
-
A helper class to automate many API features.
-
SloodleLSLHandler
-
Class constructor.
-
SloodleModule
-
Constructor - initialises the session variable
-
SloodleModule
-
Sloodle module base class.
-
SloodleModuleChat
-
Constructor
-
SloodleModuleChat
-
The Sloodle chat module class.
-
SloodleModuleDistributor
-
Constructor
-
SloodleModuleDistributor
-
The Sloodle Distributor module class.
-
SloodleModuleGlossary
-
The Sloodle glossary module class.
-
SloodleModuleGlossary
-
Constructor
-
SloodleModuleSloodleObject
-
Constructor
-
SloodleModuleSloodleObject
-
The Sloodle Object assignment module class.
-
SloodleRequest
-
-
SloodleRequest
-
Handles incoming HTTP requests, typically from LSL if dealing with Second Life.
-
SloodleResponse
-
Constructor- can intialise some variables
-
SloodleResponse
-
-
SloodleSession
-
Constructor - initialises members
-
SloodleSession
-
The primary API class, which manages all other parts.
-
SloodleUser
-
A class to represent a single user, including Moodle and Sloodle data.
-
SloodleUser
-
Class constructor.
-
sloodle_add_instance
-
Given an object containing all the necessary data, (defined by the form in mod.html) this function will create a new instance and return the id number of the new instance.
-
sloodle_add_to_log
-
Old logging function
-
sloodle_array_to_vector
-
Converts an array vector to a string vector.
-
sloodle_autoenrol_enabled_site
-
Determines whether or not auto-enrolment is allowed for the site.
-
sloodle_autoreg_enabled_site
-
Determines whether or not auto-registration is allowed for the site.
-
sloodle_check_course_module_instance_type
-
Determines if the specified course module instance is of the named type.
-
sloodle_cron
-
Function to be run periodically according to the Moodle cron.
-
sloodle_debug
-
Outputs messages if in debug mode.
-
SLOODLE_DEBUG
-
-
SLOODLE_DEBUG_MODE_PARAM_NAME
-
The name of the HTTP parameter which can be used to activate Sloodle debug mode.
-
sloodle_delete_instance
-
Given an ID of an instance of this module, this function will permanently delete the instance and any data that depends on it.
-
SLOODLE_DIRROOT
-
The data path for the root of the Sloodle folder.
-
sloodle_display_config_form
-
-
sloodle_finished_login_coordinates
-
Generates teleport coordinates for a user who has already finished the LoginZone process.
-
sloodle_get_config
-
Gets a Sloodle configuration value from Moodle's "config" table.
-
sloodle_get_course_module_instance
-
Obtains the identified course module instance database record.
-
sloodle_get_module_id
-
Obtains the ID number of the specified module (type not instance).
-
sloodle_get_participants
-
Must return an array of user records (all data) who are participants for a given instance of sloodle. Must include every user involved in the instance, independient of his role (student, teacher, admin...) See other modules as example.
-
sloodle_get_types
-
Gets the different sub-types of Sloodle module available as a list for the "Add Activity..." menu.
-
sloodle_get_value
-
Extracts a value from a name-value associative array if it is set.
-
sloodle_grades
-
Must return an array of grades for a given instance of this module, indexed by user. It also returns a maximum allowed grade.
-
sloodle_is_course_module_instance_visible
-
Determines whether or not the specified course module instance is visible.
-
sloodle_is_installed
-
Determines whether or not Sloodle is installed.
-
SLOODLE_LIBROOT
-
The data path for the root of the Sloodle library folder.
-
SLOODLE_LINKER_SCRIPT
-
Lets Sloodle know we are in a linker script.
-
sloodle_load_module
-
Constructs a appropriate Sloodle module object based on the named type.
-
sloodle_login_notification
-
Stores a pending login notification for an auto-registered user.
-
sloodle_login_zone_bounds
-
Calculates the maximum and minimum bounds of the specified LoginZone Returns the bounds as a numeric array of two associate array vectors: ($max, $min).
-
SLOODLE_MENU_VERSION
-
Define the Sloodle Menu Block version.
-
SLOODLE_OBJECT_ACCESS_LEVEL_GROUP
-
Indicates that only in-world group-members may access an object in-world.
-
SLOODLE_OBJECT_ACCESS_LEVEL_OWNER
-
Indicates that only the owner may access an object in-world.
-
SLOODLE_OBJECT_ACCESS_LEVEL_PUBLIC
-
Indicates that anybody may access an object in-world.
-
SLOODLE_PARAM_AVATAR_NAME
-
Defines the HTTP parameter name for an avatar name.
-
SLOODLE_PARAM_AVATAR_UUID
-
Defines the HTTP parameter name for an avatar UUID.
-
SLOODLE_PARAM_CONTROLLER_ID
-
Defines the HTTP parameter name for a Sloodle controller ID.
-
SLOODLE_PARAM_COURSE_ID
-
Defines the HTTP parameter name for a course ID.
-
SLOODLE_PARAM_IS_OBJECT
-
Defines the HTTP parameter name for indicating a request which relates to an object instead of a user.
-
SLOODLE_PARAM_MODULE_ID
-
Defines the HTTP parameter name for a module ID.
-
SLOODLE_PARAM_PASSWORD
-
Defines the HTTP parameter name for a Sloodle password.
-
SLOODLE_PARAM_REQUEST_DESC
-
Defines the HTTP parameter name for a request descriptor.
-
SLOODLE_PARAM_SERVER_ACCESS_LEVEL
-
Defines the HTTP parameter name for specifying server access level.
-
sloodle_position_is_in_login_zone
-
Checks if the specified position is in the current (site-wide) loginzone.
-
sloodle_print_access_level_options
-
Outputs the standard form elements for access levels in object configuration.
-
sloodle_print_recent_activity
-
Given a course and a time, this module should find recent activity that has occurred in sloodle activities and print it out.
-
sloodle_process_login_notifications
-
Processes pending login notifications, up to a certain limit.
-
sloodle_process_options
-
Processes the module configuration options prior to saving them.
-
sloodle_random_position_in_zone
-
Generates a random position within a cuboid zone of the specified size.
-
sloodle_random_prim_password
-
Generates a random prim password (7 to 9 digit number).
-
sloodle_random_security_token
-
Generates a random login security token.
-
sloodle_random_web_password
-
Generates a random web password Uses mixed-case letters and numbers to generate a random 8-character string.
-
sloodle_required_param
-
Obtains a named HTTP request parameter, and terminates script with an error message if it was not provided.
-
sloodle_round_vector
-
Rounds the specified 3d vector integer values.
-
sloodle_scale_used
-
This function returns if a scale is being used by one sloodle it it has support for grading and scales. Commented code should be modified if necessary. See forum, glossary or journal modules as reference.
-
sloodle_send_login_notification
-
Send a login notification.
-
sloodle_send_xmlrpc_message
-
Sends an XMLRPC message into Second Life.
-
SLOODLE_SERVER_ACCESS_LEVEL_COURSE
-
Indicates that only those registered and enrolled in a specific course may access a server resource.
-
SLOODLE_SERVER_ACCESS_LEVEL_PUBLIC
-
Indicates that anybody may access a server resource (still requires an authenticated request).
-
SLOODLE_SERVER_ACCESS_LEVEL_SITE
-
Indicates that only those registered on the site may access a server resource.
-
SLOODLE_SERVER_ACCESS_LEVEL_STAFF
-
Indicates that only those with Sloodle staff status on a course may access a server resource.
-
sloodle_set_config
-
Sets a Sloodle configuration value.
-
sloodle_text_email
-
Send an email to a specific address, using the Moodle system.
-
sloodle_text_email_sl
-
Send an email to an object in SL.
-
SLOODLE_TYPE_CTRL
-
-
SLOODLE_TYPE_DISTRIB
-
-
sloodle_update_instance
-
Given an object containing all the necessary data, (defined by the form in mod.html) this function will update an existing instance with new data.
-
sloodle_user_complete
-
Print a detailed representation of what a user has done with a given particular instance of this module, for user activity reports.
-
sloodle_user_outline
-
Return a small object with summary information about what a user has done with a given particular instance of this module Used for user activity reports.
-
sloodle_validate_prim_password
-
Checks if the given prim password is valid.
-
sloodle_validate_prim_password_verbose
-
Checks if the given prim password is valid, and provides feedback.
-
sloodle_vector_to_array
-
Converts a string vector to an array vector.
-
SLOODLE_VERSION
-
The Sloodle version number.
-
sloodle_view_controller
-
Displays information about the given Sloodle module.
-
sloodle_view_distributor
-
Displays information about the given Sloodle Distributor.
-
SLOODLE_WWWROOT
-
The path for browsing to the root of the Sloodle folder.
-
submit
-
Add a new submission (or replace an existing one).