moodle/lib/db
moodler 73047f2f76 OK, this is a new scheme to allow some teachers to edit and others to not
that is much better than the proposal to change the role of course creators.

There is a new field in user_teachers called "editall", which is
ON BY DEFAULT, and allows teachers to edit courses.  It can be modified
on the teacher editing screen (formerly assign teachers).

The value is cached in the session.

To test for it, there is a new function isteacheredit($course->id)
which works much like isteacher did.

I'm going through now and applying this new function wherever
it is needed.
2003-08-16 05:19:24 +00:00
..
mysql.php OK, this is a new scheme to allow some teachers to edit and others to not 2003-08-16 05:19:24 +00:00
mysql.sql OK, this is a new scheme to allow some teachers to edit and others to not 2003-08-16 05:19:24 +00:00
oci8po.sql Initial version from Les Kopari - les_kopari@yahoo.com 2003-03-14 08:22:37 +00:00
postgres7.php OK, this is a new scheme to allow some teachers to edit and others to not 2003-08-16 05:19:24 +00:00
postgres7.sql OK, this is a new scheme to allow some teachers to edit and others to not 2003-08-16 05:19:24 +00:00
README Added new postgres7 schema, developed by Felipe Rodrigues da Silva <felipe@pontoexe.com>. Thanks Felipe! 2002-09-25 15:16:21 +00:00

Once databases exist, Moodle should support a wide
variety of databases (because it uses the ADODB library).

Unfortunately, database differences still means that 
the *creation* of the databases is very different.

This directory (and the db directory in each module) 
contains SQL code for creating Moodle databases on 
each type of database.


mysql.sql - the main database Moodle is developed with

postgres7.sql - the PostgreSQL schema is still alpha,
                your feedback is encouraged