General developer forum

 
 
Anne Krijger
Re: newmodule lib.php
Group Particularly helpful Moodlers

The best way is to take an existing module whose behavior is similar to what you are creating as an example.

For example if you're creating a new sort of resource you can look at the /mod/resource code to see how it's done there.

Anne.

 
Average of ratings: -