General developer forum

how to get Course id (by DB)

 
Picture of Francesco Pisano
Re: how to get Course id (by DB)
 

Hi Dom!


Yes, I'm sure.

Because I have to develop a new course format plugin.

I have to automaticlly modify db after course creation and I think will be necessay to know (and use) the course id for the update of the db values.


I will develop a format course that automatically set restrict access on creation.


Have you got any advice?


Thank you

 
Average of ratings: -