General developer forum

newmodule lib.php

 
 
Anne Krijger
Re: newmodule lib.php
 

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: -