]> git.mjollnir.org Git - moodle.git/commit
Added a new function to make a unique ID code, to be used in quiz
authormoodler <moodler>
Sat, 23 Aug 2003 12:22:27 +0000 (12:22 +0000)
committermoodler <moodler>
Sat, 23 Aug 2003 12:22:27 +0000 (12:22 +0000)
commit280faf9ff7f73a65d4c6b9382cb7fdc0955ad8a1
tree8f670568bee2f7b9a105abad748ef24039924764
parent82ad5e1a9f7bfba27dd3b0bfbd51b5f75566691b
Added a new function to make a unique ID code, to be used in quiz
questions and elsewhere

It's based on the hostname, time, random string and a supplied version string.
These are packed using '+ separators so they can easily be unpacked if
necessary.

function make_unique_id_code($version=1)
lib/moodlelib.php