Permalink
Browse files

Updated the dox

  • Loading branch information...
moodler
moodler committed Dec 7, 2002
1 parent ec2e229 commit 2348daf12c688ad53f3b7ff41c7be06283a7080c
Showing with 11 additions and 1 deletion.
  1. +11 −1 lib/makeclass.php
View
@@ -1,9 +1,19 @@
<?PHP // $Id$
-// This file is currently optional within Moodle - see config-dist.php
+// This file is not used by Moodle itself.
//
// It exists to provide a more object-oriented interface to some of
// Moodle's main library functions, for use by external programs.
+//
+// Thanks to Greg Barnett from Crown College for this code
+
+// Usage example (from an external program):
+//
+// require("blah/moodle/lib/makeclass.php");
+// makeClassFromFile("blah/moodle/lib/moodlelib.php", "moodlelib");
+//
+// moodle::isteacher($courseID); // for example ...
+//
function makeClassFromFile($file, $classname) {

0 comments on commit 2348daf

Please sign in to comment.