-
Book Overview & Buying
-
Table Of Contents
Moodle 1.9 Extension Development
By :
User access is the first line of protection that Moodle has. Content and functionality can be protected so that anyone has to first log in using a valid account before they can access the content or functions of the site. Beyond that, specific functions within the site can be controlled by allowing or preventing capabilities for roles (see the section on access controls inChapter 1,Moodle Architecture
Any main script in Moodle must verify a user's identity and their ability to access the script's function.
A main script is one that is called from the browser and executed directly, as opposed to a library function that is called somewhere from within another script
We will examine the common scripts that you need to use in order to make your user code secure.
Moodle sets a number of session variables that track the duration of a user's session. These can all be left for Moodle to manage as long as the user has been logged in and identified...
Change the font size
Change margin width
Change background colour