11 Commits

Author SHA1 Message Date
stronk7
8033a70237 Included choice_get_participants() function. 2003-09-04 22:18:14 +00:00
moodler
6d6c938999 New feature: choices can now be published (like polls) with names
or without.
2003-01-01 06:34:13 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
417e6821bd Removed some blank lines that were causing output 2002-10-17 10:33:13 +00:00
martin
cd3fccff00 Choices now support up to 6 choices. Backward compatible to 2-choice format. 2002-09-08 09:42:07 +00:00
martin
da664183e1 Cleaned up the Choice report - it's easier to make sense of now 2002-08-18 09:43:01 +00:00
martin
6821bec5d7 Modernised insert and update of answers (using standard functions) 2002-08-12 08:56:36 +00:00
martin
c4016bc1db Language changes to choice module 2002-08-12 08:28:04 +00:00
martin
04eba58f57 Moved all mod.php functions from modules into lib.php, and
updated course/mod.php to use them there.  No longer need module/mod.php
2002-08-03 02:29:21 +00:00
martin
0d22e7cc7e Got rid of the user.php code fragments and implemented much cleaner
system which certain-named functions in lib.php ... called from /course/user.php
2002-07-25 13:48:14 +00:00