Fileref:version linker.php

From SLIS Second Life Wiki
Jump to: navigation, search

Folder.gif (parent)

This script allows objects in Second Life (or other scripts) to query for version information about the installed Sloodle version.


Currently, the script accepts no parameters, and its output will normally be one of the following:

Error generated when Sloodle is not installed:

-106|SYSTEM
The Sloodle module is not installed on this Moodle site.

Successful report of Sloodle version:

1|OK
0.2|2008020501

In the later case, the second line shows the Sloodle version, followed by the module version, separated by the field separator character. The exact values will reflect the version of Sloodle which you have installed.

Note: if you are a Moodle administrator, then the Sloodle version numbers can be seen on the Sloodle configuration page (config.html).


Future Work

It is hoped that, at some stage, further processing can be added to this script. The above basic behaviour when no parameters are given should always stay the same (or very similar), but the ability to check tool/script compatibility by passing its name/version in as an HTTP parameter may be implemented at some stage.


See Also


This page is part of the SLOODLE documentation
Docs: Users | Administrators | Developers
Wiki Frontpage Sloodle.org
Personal tools